Свойство | Тип | Описание | |
---|---|---|---|
assetName | string | ||
sourceRect | Rectangle | ||
timer | float |
Свойство | Тип | Описание | |
---|---|---|---|
mPos | Vector2 | ||
tex | Texture2D |
Метод | Описание | |
---|---|---|
Draw ( |
||
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void | ||
Sprite ( ) : System | ||
Sprite ( int ID ) : System | ||
Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void | ||
getPos ( ) : Vector2 | ||
getTex ( ) : Texture2D | ||
updatePos ( Vector2 newPos ) : void |
Метод | Описание | |
---|---|---|
Update ( GameTime gameTime ) : void |
public Draw ( |
||
theSpriteBatch | ||
Результат | void |
public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void | ||
theContentManager | Microsoft.Xna.Framework.Content.ContentManager | |
theAssetName | string | |
Результат | void |
public Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void | ||
theGameTime | GameTime | |
theSpeed | Vector2 | |
theDirection | Vector2 | |
Результат | void |
public updatePos ( Vector2 newPos ) : void | ||
newPos | Vector2 | |
Результат | void |