/// <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); }
/// <summary> /// Lets the wall explode /// </summary> public void Explode() { Animation = new TilesetAnimationIndex(TilesetAnimationIndex.Types.ExplodingWall, Tileset); Exploding = true; }
/// <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); }