// Use this for initialization void Start() { eai = this.GetComponent <HeavyAI> (); sc = GameObject.FindGameObjectWithTag("GameController").GetComponent <SpriteContainer>(); ewc = this.GetComponent <HeavyAttack> (); legsSpr = sc.getPlayerLegs(); }
void Start() { allowInput = true; lightAttackClass = GetComponent <LightAttack>(); mediumAttackClass = GetComponent <MediumAttack>(); heavyAttackClass = GetComponent <HeavyAttack>(); playerDefenseClass = GetComponent <PlayerDefense>(); playerDashClass = GetComponent <PlayerDash>(); }
public override void setupClass() { //Set up offensive Abilities offensiveAbilityPool = new Ability[1]; offensiveAbilityPool[0] = new DashStrike(); //Set up defensive Abilities defensiveAbilityPool = new Ability[2]; defensiveAbilityPool[0] = new DodgeRoll(); defensiveAbilityPool[1] = new Parry(); //Set up basic and heavy attacks basicAttack = new BasicAttack(); heavyAttack = new HeavyAttack(); }
public override void setupClass() { //Set up offensive Abilities offensiveAbilityPool = new Ability[2]; offensiveAbilityPool[0] = new LanceShot(); offensiveAbilityPool[1] = new RicochetShot(); //Set up defensive Abilities defensiveAbilityPool = new Ability[1]; defensiveAbilityPool[0] = new DodgeRoll(); //Set up basic and heavy attacks basicAttack = new BasicShoot(); heavyAttack = new HeavyAttack(); }