public void Initialize() { _groundTiles.Clear(); GroundTile groundTile = CreateRegularTile(0); _groundTiles.Add(groundTile); _entityManager.AddEntity(groundTile); }
private GroundTile CreateBumpyTile(float positionX) { GroundTile groundTile = new GroundTile(positionX, GORUND_TILE_POS_Y, _bumpySprite); return(groundTile); }
private GroundTile CreateRegularTile(float positionX) { GroundTile groundTile = new GroundTile(positionX, GORUND_TILE_POS_Y, _regularSprite); return(groundTile); }