Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="tileset"></param>
 public Wall(int x, int y, int tileset)
     : base(x, y, 1.0f, 1.0f)
 {
     Tileset   = tileset;
     Animation = new TilesetAnimationIndex(TilesetAnimationIndex.Types.Wall, tileset);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Lets the wall explode
 /// </summary>
 public void Explode()
 {
     Animation = new TilesetAnimationIndex(TilesetAnimationIndex.Types.ExplodingWall, Tileset);
     Exploding = true;
 }
Exemplo n.º 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="x"></param>
 /// <param name="y"></param>
 /// <param name="tileset"></param>
 public Stone(int x, int y, int tileset)
     : base(x, y, 1.0f, 1.0f)
 {
     Animation = new TilesetAnimationIndex(TilesetAnimationIndex.Types.Stone, tileset);
 }