public AiAvoidBulletLogic(AiBase aiBase)
    {
        this.aiBase = aiBase;
        bulletMask  = aiBase.bulletMask;

        aiMovementLogic = aiBase.aiMovementLogic;

        characterColliderWidth  = aiBase.characterColliderWidth;
        characterColliderHeight = aiBase.characterColliderHeight;
    }
Example #2
0
 public void InitialiseLogic()
 {
     aiPowerUpLogic     = new AiPowerUpLogic(this);
     aiWeaponLogic      = new AiWeaponLogic(this);
     aiMovementLogic    = new AiMovementLogic(this);
     aiAvoidBulletLogic = new AiAvoidBulletLogic(this);
     aiPriorityLogic    = new AiPriorityLogic(this);
     aiActionLogic      = new AiActionLogic(this);
     aiMapLogic         = new AiMapLogic(this);
     aiKillingLogic     = new AiKillingLogic(this);
 }