public override void Init(IslandElement IslandElement, IslandElementLifeControllerFactory IslandElementLifeControllerFactory)
 {
     this.elem                = IslandElement;
     this.elem.LifePoints     = 10;
     this.elem.MaxLifePoints  = 10;
     this.elem.LifeController = this;
     this.elem.IsAlive        = true;
 }
Esempio n. 2
0
 public IslandElementLifeController(IslandElement IslandElement, IslandElementLifeControllerFactory IslandElementLifeControllerFactory)
 {
     Init(IslandElement, IslandElementLifeControllerFactory);
 }