Exemplo n.º 1
0
 public BTThrowSmoke(GameObject smoke, GameObject allyPos, boole underAttack, boole hasAttacked)
 {
     this.smoke       = smoke;
     this.allyPos     = allyPos;
     this.underAttack = underAttack;
     this.hasAttacked = hasAttacked;
 }
 public BTFlyArroundPlayer(boole isAtPlayer, NavMeshAgent agent, GameObject child, GameObject player)
 {
     this.isAtPlayer = isAtPlayer;
     this.agent      = agent;
     this.child      = child;
     this.player     = player;
 }
Exemplo n.º 3
0
 public BTMoveAlly(boole hasAttacked, boole isAtPlayer, GameObject child, NavMeshAgent agent, GameObject player)
 {
     this.hasAttacked = hasAttacked;
     this.isAtPlayer  = isAtPlayer;
     this.child       = child;
     this.agent       = agent;
     this.player      = player;
 }
Exemplo n.º 4
0
 public BTGoForWeapon(NavMeshAgent agent, GameObject target, boole hasWeapon, boole needsWeaponm, GameObject weaponHolder, GameObject weaponObject, Light light, Color lightCol)
 {
     this.light        = light;
     this.lightColor   = lightCol;
     this.hasWeapon    = hasWeapon;
     this.needWeapon   = needsWeaponm;
     this.weaponHolder = weaponHolder;
     this.weaponObject = weaponObject;
     this.target       = target;
     this.agent        = agent;
 }
Exemplo n.º 5
0
 public BTMove(NavMeshAgent agent, gameobecte target, TextMeshProUGUI txt, GameObject weaponHolder, boole hasWeapon, boole cantAttack, Light light, Color lightCol)
 {
     this.light        = light;
     this.lightColor   = lightCol;
     this.hasWeapon    = hasWeapon;
     this.cantAttack   = cantAttack;
     this.weaponHolder = weaponHolder;
     this.txt          = txt;
     this.target       = target;
     this.agent        = agent;
 }
Exemplo n.º 6
0
 public BTTCheckAtPlayer(boole isAtPlayer)
 {
     this.isAtPlayer = isAtPlayer;
 }
Exemplo n.º 7
0
 public BTCheckSmoke(boole isInSmoke, NavMeshAgent agent)
 {
     this.agent     = agent;
     this.isInSmoke = isInSmoke;
 }
Exemplo n.º 8
0
        private static bool loaded = false; //Checks if OpenGL Window is active

        public static void setLoaded(boole inpt)
        {
            loaded = inpt;
        }
Exemplo n.º 9
0
 public CheckPlayerRange(gameobecte player, boole hasWeapon, boole needsWeapon)
 {
     this.player      = player;
     this.hasWeapon   = hasWeapon;
     this.needsWeapon = needsWeapon;
 }
Exemplo n.º 10
0
 public BTCheckAttackDone(boole hasAttacked, NavMeshAgent agent)
 {
     this.hasAttacked = hasAttacked;
     this.agent       = agent;
 }
Exemplo n.º 11
0
 public BTCheckAttack(boole underAttack, boole isAtPlayer, NavMeshAgent agent)
 {
     this.underAttack = underAttack;
     this.isAtPlayer  = isAtPlayer;
     this.agent       = agent;
 }
Exemplo n.º 12
0
 public FindWeapon(boole needWeapon)
 {
     this.needWeapon = needWeapon;
 }