added Vector2D and Hitbox
This commit is contained in:
parent
eabeb55115
commit
d5da82f287
13 changed files with 192 additions and 30 deletions
|
@ -10,7 +10,7 @@
|
|||
class MoveComponent
|
||||
{
|
||||
public:
|
||||
MoveComponent(std::weak_ptr<Actor> actor): m_Actor(actor), m_Speed(10) {}; //TODO: speed
|
||||
MoveComponent(std::weak_ptr<Actor> actor): m_Actor(actor), m_Speed(50) {}; //TODO: speed
|
||||
void Update(float deltaTime);
|
||||
void SetDirection(const NormalizedDirection & direction);
|
||||
void SetSpeed(float speed);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue