Beispiel #1
0
 public Unit()
     : base()
 {
     ItmInterface = new ItemsInterface(this);
     CbtInterface = new CombatInterface(this);
     StsInterface = new StatsInterface(this);
     QtsInterface = new QuestsInterface(this);
     MvtInterface = new MovementInterface(this);
     AbtInterface = new AbilityInterface(this);
     AiInterface  = new AIInterface(this);
 }
Beispiel #2
0
 public Unit()
     : base()
 {
     ItmInterface = new ItemsInterface(this);
     CbtInterface = new CombatInterface(this);
     StsInterface = new StatsInterface(this);
     QtsInterface = new QuestsInterface(this);
     MvtInterface = new MovementInterface(this);
     AbtInterface = new AbilityInterface(this);
     AiInterface = new AIInterface(this);
 }
Beispiel #3
0
 public Unit()
     : base()
 {
     ItmInterface = AddInterface<ItemsInterface>();
     CbtInterface = AddInterface<CombatInterface>();
     StsInterface = AddInterface<StatsInterface>();
     QtsInterface = AddInterface<QuestsInterface>();
     MvtInterface = AddInterface<MovementInterface>();
     AbtInterface = AddInterface<AbilityInterface>();
     AiInterface = AddInterface<AIInterface>();
 }
Beispiel #4
0
 public UnitStat(StatsInterface ownerInterface)
 {
     _stsInterface = ownerInterface;
 }