public void ChangeHappyAction(HappyActions action) { if (happyActions != action) { happyActions = action; changeAnimation = true; } }
public Happy(Animation animation, Animation deadAnimation, Aim aim, Texture2D measureBar, string id, int maxHp, int maxSp, float spRegen, float move, float maximumFallingSpeed, Vector2 distanceToHand, Side side, Inputs inputs) : base(animation, deadAnimation, aim, measureBar, id, maxHp, maxSp, spRegen, move, maximumFallingSpeed, distanceToHand, side, inputs) { happyActions = HappyActions.None; }
public override void ResetPlayer() { base.ResetPlayer(); happyActions = HappyActions.None; }