public virtual void Draw(Vector2 OFFSET) { hero.Draw(offset); for (int i = 0; i < projectiles.Count; i++) { projectiles[i].Draw(offset); } for (int i = 0; i < spawnPoints.Count; i++) { spawnPoints[i].Draw(offset); } for (int i = 0; i < mobs.Count; i++) { mobs[i].Draw(offset); } ui.Draw(this); }
public virtual void Draw(Vector2 OFFSET) { if (hero != null) { hero.Draw(OFFSET); } for (int i = 0; i < units.Count; i++) { units[i].Draw(OFFSET); } for (int i = 0; i < buildings.Count; i++) { buildings[i].Draw(OFFSET); } for (int i = 0; i < spawnPoints.Count; i++) { spawnPoints[i].Draw(OFFSET); } }
public virtual void Draw() { hero.Draw(); }