프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Active | bool | ||
HitBox | |||
HitPolyPoints | List |
||
Position | Vector2 | ||
Rotation | float | ||
Speed | Vector2 | ||
SpriteSheet | Microsoft.Xna.Framework.Graphics.Texture2D |
메소드 | 설명 | |
---|---|---|
Draw ( |
||
Entity ( Microsoft.Xna.Framework.Graphics.Texture2D spritesheet, |
||
HandleInput ( |
||
OnBoxCollision ( Entity collided, |
||
OnPolyCollision ( Entity collided ) : void | ||
Reset ( ) : void | ||
Update ( |
||
Update ( |
public Draw ( |
||
sb | ||
리턴 | void |
public Entity ( Microsoft.Xna.Framework.Graphics.Texture2D spritesheet, |
||
spritesheet | Microsoft.Xna.Framework.Graphics.Texture2D | |
hitbox | ||
hitPolyPoints | List |
|
hitboxoffset | Vector2 | |
리턴 | System |
public HandleInput ( |
||
input | ||
리턴 | void |
public OnBoxCollision ( Entity collided, |
||
collided | Entity | |
intersect | ||
리턴 | void |
public Update ( |
||
gameTime | ||
리턴 | void |
public Update ( |
||
gameTime | ||
gameMap | Map | |
리턴 | void |
public Rectangle,Microsoft.Xna.Framework HitBox | ||
리턴 |