/* * private void addGroundLowerInclineTileAt(int x, int y) * { * Vector2 tilePosition = calculateTilePosition(x, y); * //GroundTile spikeTile = new SpikeTile(world, tilePosition, this.LevelMap.TileWidth + spikeTileSizeOffset, this.LevelMap.TileHeight + spikeTileSizeOffset); * //addTile(groundTile); * } * * private void addGroundUpperInclineTileAt(int x, int y) * { * } * * private void addGroundLowerDeclineTileAt(int x, int y) * { * } * * private void addGroundUpperDeclineTileAt(int x, int y) * { * } */ private void addSpikeTileAt(int x, int y) { Vector2 tilePosition = calculateTilePosition(x, y); SpikeTile spikeTile = new SpikeTile(world, tilePosition, this.LevelMap.TileWidth + spikeTileSizeOffset, this.LevelMap.TileHeight + spikeTileSizeOffset); addTile(spikeTile); }
/* private void addGroundLowerInclineTileAt(int x, int y) { Vector2 tilePosition = calculateTilePosition(x, y); //GroundTile spikeTile = new SpikeTile(world, tilePosition, this.LevelMap.TileWidth + spikeTileSizeOffset, this.LevelMap.TileHeight + spikeTileSizeOffset); //addTile(groundTile); } private void addGroundUpperInclineTileAt(int x, int y) { } private void addGroundLowerDeclineTileAt(int x, int y) { } private void addGroundUpperDeclineTileAt(int x, int y) { } */ private void addSpikeTileAt(int x, int y) { Vector2 tilePosition = calculateTilePosition(x, y); SpikeTile spikeTile = new SpikeTile(world, tilePosition, this.LevelMap.TileWidth + spikeTileSizeOffset, this.LevelMap.TileHeight + spikeTileSizeOffset); addTile(spikeTile); }