Example #1
0
        static void Exsersize1()
        {
            MainHero      hero    = new MainHero();
            CommandToHero command = new CommandToHero(hero);

            command.SetCommand();
        }
Example #2
0
 public Jump(MainHero r)
 {
     Person = r;
 }
Example #3
0
 public Run(MainHero r)
 {
     Person = r;
 }
Example #4
0
 public CommandToHero(MainHero r)
 {
     command = r;
 }
Example #5
0
 public Fire(MainHero r)
 {
     Person = r;
 }