C# Class spaceconquest.Hex3D

Mostrar archivo 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_oe property

public Color color
return Color

defaultcolor public_oe property

public Color defaultcolor
return Color

distance public_oe property

public int distance
return int

hexgrid public_oe property

public SolarSystem3D hexgrid
return SolarSystem3D

passable public_oe property

public Boolean,System passable
return System.Boolean

prev public_oe property

public Hex3D,spaceconquest prev
return Hex3D

radius public_oe static_oe property

public static int radius
return int

spacing public_oe static_oe property

public static int spacing
return int

visible public_oe property

public Boolean,System visible
return System.Boolean

x public_oe property

public int x
return int

y public_oe property

public int y
return int