public Command CreateEnemyCommand(Enemy enemy) { Command command = (Command)enemy.Job.Command.Clone(); command.Performer = enemy; Player target = null; do { target = players[new Random().Next(players.Count)]; } while (!target.Alive); command.Target = target; return command; }
public EnemyView(Enemy enemy, GameScreen screen, Vector2 position) : base(enemy, screen, position, false) { }
public EnemyCommandPerformController(ControllerManager controllerManager, Enemy enemy) : base(controllerManager) { this.enemy = enemy; AddViews(ViewManager.Characters); }