Move through course, sprite and input

Signed-off-by: Daniel Henry <iamdanhenry@gmail.com>
This commit is contained in:
2025-09-05 11:00:14 -05:00
parent c545d800d2
commit b64f931010
342 changed files with 2258 additions and 33 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include <framework/Actor.h>
namespace ly {
class Spaceship : public Actor {
public:
Spaceship(World *owningWorld, const std::string &texturePath = "");
virtual void Tick(float deltaTime) override;
void SetVelocity(const sf::Vector2f newVelocity);
sf::Vector2f GetVelocity() const { return mVelocity; }
private:
sf::Vector2f mVelocity;
};
}