Beispiel #1
0
 public void SetFraction(Fraction f)
 {
     Fraction = f;
     ResetChargeAndBooster();
     controller?.OnRemove();
     controller = this.GDOwner().CreateController(Fraction, this);
 }
Beispiel #2
0
        public override void OnInitialize(EntityManager manager)
        {
            controller = this.GDOwner().CreateController(Fraction, this);

            CreatePhysics();
            CreateShieldPhysics();
        }
Beispiel #3
0
 public void ForceSetController(AbstractFractionController ctrl)
 {
     controller = ctrl;
 }
Beispiel #4
0
 public void ForceUpdateController()
 {
     controller?.OnRemove();
     controller = this.GDOwner().CreateController(Fraction, this);
 }