Exemplo n.º 1
0
 void Start()
 {
     enemyAI       = gameObject.GetComponent <AbstractEnemyAIController>();
     charMode      = Mode.Attack;
     battleActions = new string[5];
     charAbilities = new List <Ability>();
     AddStartingCharacterAbilities();
     hasteValue = 1;
     CalculateModStats();
     CalculateTickSpeed();
     CalculateTurnCounter(1);
 }
Exemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        obj         = GameObject.Find("Query-Chan");
        qAnime      = obj.GetComponent <QueryAnimationController>();
        straight    = new Straight(obj, qAnime);
        wait        = new Wait(obj, qAnime);
        smallSlalom = new SmallSlalom(obj, qAnime);
        damage      = new Damage(obj, qAnime);
        disappo     = new Disappo(obj, qAnime);
        turnRight   = new TurnRight(obj, qAnime);
        turnLeft    = new TurnLeft(obj, qAnime);
        attack      = new Attack(obj, qAnime);
        moveState   = MoveState.SMALL_SLALOM;

        line = obj.GetComponent <Line> ();
    }