C# Class Ctrl_Space.Gameplay.GameObject

Afficher le fichier Open project: vkd/Ctrl-Space Class Usage Examples

Méthodes publiques

Свойство Type Description
Alpha float
Collisions List
Color Color
DrawHP bool
HP int
Id int
IsDestroyed bool
Mass float
MaxHP int
Position Vector2
Rotation float
RotationSpeed float
Size float

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch, GameTime gameTime, Vector2 offset, Camera camera, DebugGeometry debugGeometry ) : void
GameObject ( ) : System
GetTexture ( ) : MetaTexture
ResetGameObject ( ) : void
Update ( World world, Particles particles ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch, GameTime gameTime, Vector2 offset, Camera camera, DebugGeometry debugGeometry ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime Microsoft.Xna.Framework.GameTime
offset Vector2
camera Ctrl_Space.Graphics.Camera
debugGeometry Ctrl_Space.Graphics.DebugGeometry
Résultat void

GameObject() public méthode

public GameObject ( ) : System
Résultat System

GetTexture() public abstract méthode

public abstract GetTexture ( ) : MetaTexture
Résultat Ctrl_Space.Graphics.MetaTexture

ResetGameObject() public méthode

public ResetGameObject ( ) : void
Résultat void

Update() public méthode

public Update ( World world, Particles particles ) : void
world World
particles Ctrl_Space.Graphics.Particles
Résultat void

Property Details

Alpha public_oe property

public float Alpha
Résultat float

Collisions public_oe property

public List Collisions
Résultat List

Color public_oe property

public Color Color
Résultat Color

DrawHP public_oe property

public bool DrawHP
Résultat bool

HP public_oe property

public int HP
Résultat int

Id public_oe property

public int Id
Résultat int

IsDestroyed public_oe property

public bool IsDestroyed
Résultat bool

Mass public_oe property

public float Mass
Résultat float

MaxHP public_oe property

public int MaxHP
Résultat int

Position public_oe property

public Vector2 Position
Résultat Vector2

Rotation public_oe property

public float Rotation
Résultat float

RotationSpeed public_oe property

public float RotationSpeed
Résultat float

Size public_oe property

public float Size
Résultat float