static void Exsersize1() { MainHero hero = new MainHero(); CommandToHero command = new CommandToHero(hero); command.SetCommand(); }
public Jump(MainHero r) { Person = r; }
public Run(MainHero r) { Person = r; }
public CommandToHero(MainHero r) { command = r; }
public Fire(MainHero r) { Person = r; }