C# Class spaceconquest.Hex3D

Afficher le fichier Open project: cclay/spaceconquest Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

public AddObject ( GameObject go ) : void
go GameObject
Résultat void

ClearGhostObject() public méthode

public ClearGhostObject ( ) : void
Résultat void

Draw() public méthode

public Draw ( Matrix world, Matrix view, Matrix projection ) : void
world Matrix
view Matrix
projection Matrix
Résultat void

DrawObject() public méthode

public DrawObject ( Matrix world, Matrix view, Matrix projection ) : void
world Matrix
view Matrix
projection Matrix
Résultat void

GetGameObject() public méthode

public GetGameObject ( ) : GameObject
Résultat GameObject

Hex3D() public méthode

public Hex3D ( int xx, int yy, SolarSystem3D ss, Color c ) : System
xx int
yy int
ss SolarSystem3D
c Color
Résultat System

IsMouseOver() public méthode

public IsMouseOver ( Microsoft.Xna.Framework.Ray mouseray ) : bool
mouseray Microsoft.Xna.Framework.Ray
Résultat bool

RemoveObject() public méthode

public RemoveObject ( ) : void
Résultat void

SetGhostObject() public méthode

public SetGhostObject ( GameObject go ) : void
go GameObject
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

getCenter() public méthode

public getCenter ( ) : Vector3
Résultat Vector3

getNeighbors() public méthode

public getNeighbors ( ) : List
Résultat List

Property Details

color public_oe property

public Color color
Résultat Color

defaultcolor public_oe property

public Color defaultcolor
Résultat Color

distance public_oe property

public int distance
Résultat int

hexgrid public_oe property

public SolarSystem3D hexgrid
Résultat SolarSystem3D

passable public_oe property

public Boolean,System passable
Résultat System.Boolean

prev public_oe property

public Hex3D,spaceconquest prev
Résultat Hex3D

radius public_oe static_oe property

public static int radius
Résultat int

spacing public_oe static_oe property

public static int spacing
Résultat int

visible public_oe property

public Boolean,System visible
Résultat System.Boolean

x public_oe property

public int x
Résultat int

y public_oe property

public int y
Résultat int