mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-16 21:01:48 +01:00
Add Building, Add Hard floors
This commit is contained in:
@@ -68,6 +68,9 @@ private:
|
||||
|
||||
Vector2f m_Acc;
|
||||
Vector2f m_Gravity { 0, -9.81f };
|
||||
float m_BobTimer{ 0.0f };
|
||||
const float m_BobTime{ 0.1f };
|
||||
bool m_BobUp{ true };
|
||||
|
||||
Vector2f m_DigDestination{};
|
||||
float m_DigProgress{};
|
||||
@@ -79,7 +82,10 @@ private:
|
||||
bool m_Grounded { false };
|
||||
|
||||
bool m_DidJustDigRight { false };
|
||||
Animation* m_currentAnimation{ nullptr };
|
||||
Animation* m_walkAnimation;
|
||||
Animation* m_turnAnimation;
|
||||
Animation* m_digAnimation;
|
||||
|
||||
PlayerState m_State { PlayerState::Idle };
|
||||
PlayerDirection m_Direction { PlayerDirection::Right };
|
||||
|
||||
Reference in New Issue
Block a user