Example #1
0
 public AttackClosestEnemyBehaviour(ISystemContainer systemContainer)
 {
     _positionSystem  = systemContainer.PositionSystem;
     _eventRuleSystem = systemContainer.EventSystem;
     _playerSystem    = systemContainer.PlayerSystem;
     _mapSystem       = systemContainer.MapSystem;
     _factionSystem   = systemContainer.FactionSystem;
 }
Example #2
0
 public CantMoveIntoSameFactionRule(ISystemContainer systemContainer)
 {
     _positionSystem = systemContainer.PositionSystem;
     _factionSystem  = systemContainer.FactionSystem;
 }