Bullets do not die immediately when view goes offscreen anymore. Initial jump states and setup for Slime King are now implemented.
This commit is contained in:
+3
-3
@@ -41,7 +41,7 @@ private:
|
||||
float manaTickTimer=0;
|
||||
std::pair<std::string,float> notEnoughManaDisplay={"",0};
|
||||
float teleportAttemptWaitTime=0; //If a teleport fails, we wait awhile before trying again, it's expensive.
|
||||
State state=State::NORMAL;
|
||||
State::State state=State::NORMAL;
|
||||
Animate2D::Animation<std::string>animation;
|
||||
Animate2D::AnimationState internal_animState;
|
||||
Key lastReleasedMovementKey;
|
||||
@@ -58,7 +58,7 @@ protected:
|
||||
const float MAGIC_ATTACK_COOLDOWN="Wizard.Auto Attack.Cooldown"_F;
|
||||
float ARROW_ATTACK_COOLDOWN="Ranger.Auto Attack.Cooldown"_F;
|
||||
void SetSwordSwingTimer(float val);
|
||||
void SetState(State newState);
|
||||
void SetState(State::State newState);
|
||||
void SetFacingDirection(Key direction);
|
||||
void SetLastReleasedMovementKey(Key k);
|
||||
void Spin(float duration,float spinSpd);
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
float GetSizeMult();
|
||||
float GetAttackRangeMult();
|
||||
float GetSpinAngle();
|
||||
State GetState();
|
||||
State::State GetState();
|
||||
Key GetFacingDirection();
|
||||
vf2d GetVelocity();
|
||||
bool HasIframes();
|
||||
|
||||
Reference in New Issue
Block a user