Esempio n. 1
0
 public override void Draw(SpriteBatch spriteBatch, GameDataManager data)
 {
     spriteBatch.Draw(data.ShotTexture, Position, null, null, data.ShotTexture.Bounds.Center.ToVector2(), Heading, Vector2.One, Color.White, SpriteEffects.None, 0f);
 }
Esempio n. 2
0
 protected override void Initialize()
 {
     base.Initialize();
     Data        = new GameDataManager(this);
     ActiveState = MainMenu = new MainMenuGameState(this);
 }
Esempio n. 3
0
 public abstract void Draw(SpriteBatch spriteBatch, GameDataManager data);