Started project, implemented keyboard and controller movement

This commit is contained in:
Sarah Faey 2025-04-17 22:53:25 +02:00
parent b1f5d882f0
commit d8fa53801b
33 changed files with 931 additions and 73 deletions

18
src/Actors/ActorFactory.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef ACTOR_FACTORY_H
#define ACTOR_FACTORY_H
#include <memory>
#include <SDL3/SDL_rect.h>
#include "Actor.h"
#include "MovingActor.h"
class ActorFactory
{
public:
static std::shared_ptr<Actor> CreateActor(SDL_FRect hitbox);
static std::shared_ptr<MovingActor> CreateMovingActor(SDL_FRect hitbox);
};
#endif