Esempio n. 1
0
 void Start()
 {
     if (this.Player != null)
     {
         this.PlayerController = this.Player.GetComponent <PlayerController>();
     }
     this.CurrentCommand = new WorkBasicMatterCommand();
     this.CurrentHealth  = this.MaxHealth;
 }
Esempio n. 2
0
 public void SetWorkingMana()
 {
     this.CurrentWorkingMode = WorkingMode.Mana;
     this.CurrentCommand     = new WorkManaCommand();
 }
Esempio n. 3
0
 public void SetWorkingBasic()
 {
     this.CurrentWorkingMode = WorkingMode.BasicMatter;
     this.CurrentCommand     = new WorkBasicMatterCommand();
 }
Esempio n. 4
0
 public void SetWorkingEnergy()
 {
     this.CurrentWorkingMode = WorkingMode.Energy;
     this.CurrentCommand     = new WorkEnergyCommand();
 }
Esempio n. 5
0
 public void SetWorkingMatter()
 {
     this.CurrentWorkingMode = WorkingMode.Matter;
     this.CurrentCommand     = new WorkMatterCommand();
 }