Exemplo n.º 1
0
 public void DrawFinish(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 2, 19);
 }
Exemplo n.º 2
0
 public void DrawBomb(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 8, 18);
 }
Exemplo n.º 3
0
 public void DrawStart(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 2, 18);
 }
Exemplo n.º 4
0
 public Painter(Texture2D texture, int rows, int columns)
 {
     TextureAtlas = new TextureAtlas(texture, rows, columns);
 }
Exemplo n.º 5
0
 public void DrawEnemyDown(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 8, 12);
 }
Exemplo n.º 6
0
 public void DrawEnemyRight(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 8, 14);
 }
Exemplo n.º 7
0
 public void DrawTankRight(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 7, 6);
 }
Exemplo n.º 8
0
 public void DrawTankDown(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 7, 4);
 }
Exemplo n.º 9
0
 public void DrawWall(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 1, 16);
 }
Exemplo n.º 10
0
 public void DrawBrick(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 0, 16);
 }
Exemplo n.º 11
0
 public void DrawGround(SpriteBatch spriteBatch, Vector2 location)
 {
     TextureAtlas.Draw(spriteBatch, location, 3, 19);
 }