Свойство | Тип | Описание | |
---|---|---|---|
direction | Vector2 | ||
futurePosition | Vector2 | ||
futureRectangle | |||
moving | System.Boolean | ||
speed | float |
Метод | Описание | |
---|---|---|
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
MovingGameObject ( String texturePath, Vector2 position ) : System | ||
MovingGameObject ( String texturePath, Vector2 position, Vector2 direction ) : System | ||
MovingGameObject ( String texturePath, Vector2 position, Vector2 direction, float speed ) : System | ||
Update ( |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Результат | void |
public MovingGameObject ( String texturePath, Vector2 position ) : System | ||
texturePath | String | |
position | Vector2 | |
Результат | System |
public MovingGameObject ( String texturePath, Vector2 position, Vector2 direction ) : System | ||
texturePath | String | |
position | Vector2 | |
direction | Vector2 | |
Результат | System |
public MovingGameObject ( String texturePath, Vector2 position, Vector2 direction, float speed ) : System | ||
texturePath | String | |
position | Vector2 | |
direction | Vector2 | |
speed | float | |
Результат | System |
public Update ( |
||
gameTime | ||
Результат | void |
public Rectangle,Microsoft.Xna.Framework futureRectangle | ||
Результат |