Свойство | Type | Description | |
---|---|---|---|
Active | bool | ||
HitBox | |||
HitPolyPoints | List |
||
Position | Vector2 | ||
Rotation | float | ||
Speed | Vector2 | ||
SpriteSheet | Microsoft.Xna.Framework.Graphics.Texture2D |
Méthode | Description | |
---|---|---|
Draw ( |
||
Entity ( Microsoft.Xna.Framework.Graphics.Texture2D spritesheet, |
||
HandleInput ( |
||
OnBoxCollision ( Entity collided, |
||
OnPolyCollision ( Entity collided ) : void | ||
Reset ( ) : void | ||
Update ( |
||
Update ( |
public Draw ( |
||
sb | ||
Résultat | void |
public Entity ( Microsoft.Xna.Framework.Graphics.Texture2D spritesheet, |
||
spritesheet | Microsoft.Xna.Framework.Graphics.Texture2D | |
hitbox | ||
hitPolyPoints | List |
|
hitboxoffset | Vector2 | |
Résultat | System |
public HandleInput ( |
||
input | ||
Résultat | void |
public OnBoxCollision ( Entity collided, |
||
collided | Entity | |
intersect | ||
Résultat | void |
public OnPolyCollision ( Entity collided ) : void | ||
collided | Entity | |
Résultat | void |
public Update ( |
||
gameTime | ||
Résultat | void |
public Update ( |
||
gameTime | ||
gameMap | Map | |
Résultat | void |
public Rectangle,Microsoft.Xna.Framework HitBox | ||
Résultat |