public GelMoving(EnemySlime gel, GelSpriteFactory gelSpriteFactory, GelStateMachine gelStateMachine) { this.gel = gel; this.gelSpriteFactory = gelSpriteFactory; this.gelStateMachine = gelStateMachine; }
// Use this for initialization void Start() { anim = GetComponent <Animator>(); inimigo = GetComponent <EnemySlime>(); experiencia = GameObject.FindGameObjectWithTag("ExpBar").GetComponent <ExpBar>(); }