Esempio n. 1
0
 public AutoTarget(Actor self, AutoTargetInfo info)
 {
     Info            = info;
     attack          = self.Trait <AttackBase>();
     stance          = Info.InitialStance;
     predictedStance = stance;
     at = self.TraitOrDefault <AttackTurreted>();
 }
Esempio n. 2
0
 public void Created(Actor self)
 {
     attack = self.TraitOrDefault <AttackTurreted>();
     facing = self.TraitOrDefault <IFacing>();
 }