C# Class DungeonMasterEngine.Graphics.CubeGraphic

Inheritance: Graphic
Mostra file Open project: ggrrin/DungeonMaster Class Usage Examples

Public Methods

Method Description
CubeGraphic ( ) : System.Runtime.InteropServices
Draw ( BasicEffect effect ) : void
DrawSides ( BasicEffect effect ) : void

Private Methods

Method Description
GetFlippedTexture ( Microsoft.Xna.Framework.Graphics.Texture2D normalTexture ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

CubeGraphic() public method

public CubeGraphic ( ) : System.Runtime.InteropServices
return System.Runtime.InteropServices

Draw() public method

public Draw ( BasicEffect effect ) : void
effect Microsoft.Xna.Framework.Graphics.BasicEffect
return void

DrawSides() public method

public DrawSides ( BasicEffect effect ) : void
effect Microsoft.Xna.Framework.Graphics.BasicEffect
return void