protected void ChangeState(Ghost.GhostState ghostState) { foreach (MonogameGhost g in Ghosts) { g.Ghost.State = ghostState; } }
public void AddGhost(Ghost.GhostName name, int px, int py, Ghost.GhostState gs, int homeTileX, int homeTileY) { var g = new Ghost(_spritesheet, name, px, py, gs); g.SetHomeTile(homeTileX, homeTileY); _ghosts.Add(g); }