Méthode | Description | |
---|---|---|
Draw ( float elapsedTime, |
Draw the Green Goblin ship on-screen
|
|
GreenGoblin ( uint id, Microsoft.Xna.Framework.Content.ContentManager content, Vector2 position ) : System |
Creates a new instance of a Green Goblin enemy ship
|
|
ScrollWithMap ( float elapsedTime ) : void |
Scrolls the object with the map
|
|
Update ( float elapsedTime ) : void |
Updates the Green Goblin ship
|
public Draw ( float elapsedTime, |
||
elapsedTime | float | The in-game time between the previous and current frame |
spriteBatch | An already initialized SpriteBatch, ready for Draw() commands | |
Résultat | void |
public GreenGoblin ( uint id, Microsoft.Xna.Framework.Content.ContentManager content, Vector2 position ) : System | ||
id | uint | |
content | Microsoft.Xna.Framework.Content.ContentManager | A ContentManager to load resources with |
position | Vector2 | The position of the Green Goblin ship in the game world |
Résultat | System |
public ScrollWithMap ( float elapsedTime ) : void | ||
elapsedTime | float | The in-game time between the previous and current frame |
Résultat | void |
public Update ( float elapsedTime ) : void | ||
elapsedTime | float | The in-game time between the previous and current frame |
Résultat | void |