public void Draw(MainGame game) { if (this.Active) { game.Draw(this.Background); } game.Draw(this.TextString); }
public override void Draw(MainGame game, int x, int y, int light) { if (this.BasicSprite != null) { this.BasicSprite.Position = new Vector2(x, y); game.Draw(this.BasicSprite); } game.Draw(Shape.Rectangle(new Vector2(x, y), new Vector2(x + MainGame.TileSize, y + MainGame.TileSize), lightLevels[light])); }
public override void Draw(MainGame game, int x, int y, int light) { if (this.BasicSprite != null) { this.BasicSprite.Position = new Vector2(x, y); game.Draw(this.BasicSprite); } game.Draw(Shape.Rectangle(new Vector2(x, y), new Vector2(x + MainGame.TileSize, y + MainGame.TileSize), lightLevels[light])); }
public virtual void Draw(MainGame game, int x, int y) { if (this.BasicSprite != null) { this.BasicSprite.Position = new Vector2(x, y); game.Draw(this.BasicSprite); } }
public virtual void Draw(MainGame game, int x, int y) { if (this.BasicSprite != null) { this.BasicSprite.Position = new Vector2(x, y); game.Draw(this.BasicSprite); } }
public void Draw(MainGame game) { if (this.Active) { game.Draw(this.Background); } game.Draw(this.TextString); }