C# Class spaceconquest.Hex3D

Show file Open project: cclay/spaceconquest Class Usage Examples

Public Properties

Property Type Description
color Color
defaultcolor Color
distance int
hexgrid SolarSystem3D
passable System.Boolean
prev Hex3D
radius int
spacing int
visible System.Boolean
x int
y int

Public Methods

Method Description
AddObject ( GameObject go ) : void
ClearGhostObject ( ) : void
Draw ( Matrix world, Matrix view, Matrix projection ) : void
DrawObject ( Matrix world, Matrix view, Matrix projection ) : void
GetGameObject ( ) : GameObject
Hex3D ( int xx, int yy, SolarSystem3D ss, Color c ) : System
IsMouseOver ( Microsoft.Xna.Framework.Ray mouseray ) : bool
RemoveObject ( ) : void
SetGhostObject ( GameObject go ) : void
ToString ( ) : string
getCenter ( ) : Vector3
getNeighbors ( ) : List

Method Details

AddObject() public method

public AddObject ( GameObject go ) : void
go GameObject
return void

ClearGhostObject() public method

public ClearGhostObject ( ) : void
return void

Draw() public method

public Draw ( Matrix world, Matrix view, Matrix projection ) : void
world Matrix
view Matrix
projection Matrix
return void

DrawObject() public method

public DrawObject ( Matrix world, Matrix view, Matrix projection ) : void
world Matrix
view Matrix
projection Matrix
return void

GetGameObject() public method

public GetGameObject ( ) : GameObject
return GameObject

Hex3D() public method

public Hex3D ( int xx, int yy, SolarSystem3D ss, Color c ) : System
xx int
yy int
ss SolarSystem3D
c Color
return System

IsMouseOver() public method

public IsMouseOver ( Microsoft.Xna.Framework.Ray mouseray ) : bool
mouseray Microsoft.Xna.Framework.Ray
return bool

RemoveObject() public method

public RemoveObject ( ) : void
return void

SetGhostObject() public method

public SetGhostObject ( GameObject go ) : void
go GameObject
return void

ToString() public method

public ToString ( ) : string
return string

getCenter() public method

public getCenter ( ) : Vector3
return Vector3

getNeighbors() public method

public getNeighbors ( ) : List
return List

Property Details

color public property

public Color color
return Color

defaultcolor public property

public Color defaultcolor
return Color

distance public property

public int distance
return int

hexgrid public property

public SolarSystem3D hexgrid
return SolarSystem3D

passable public property

public Boolean,System passable
return System.Boolean

prev public property

public Hex3D,spaceconquest prev
return Hex3D

radius public static property

public static int radius
return int

spacing public static property

public static int spacing
return int

visible public property

public Boolean,System visible
return System.Boolean

x public property

public int x
return int

y public property

public int y
return int