public void Draw(GameTime gameTime, Renderer renderer) { FloorTile.Draw(gameTime, renderer); if (OccupantEquipment != null) { OccupantEquipment.Draw(gameTime, renderer); } foreach (var tileObject in tileObjects) { tileObject.Draw(gameTime, renderer); } }
public void Draw(GameTime gameTime, Renderer renderer, int x, int y, bool isOverlappingDeadZoneOverride) { x += (int)ProjectedPosition.X; y += (int)ProjectedPosition.Y; FloorTile.Draw(gameTime, renderer, x, y, isOverlappingDeadZoneOverride); if (OccupantEquipment != null) { OccupantEquipment.Draw(gameTime, renderer, x, y, isOverlappingDeadZoneOverride); } foreach (var tileObject in tileObjects) { tileObject.Draw(gameTime, renderer, x, y, isOverlappingDeadZoneOverride); } }