needed to push some big changes before I lose them

This commit is contained in:
bMorgan01 2020-10-14 00:47:11 -06:00
parent d84b2810d2
commit d767806e1c
35 changed files with 637 additions and 138 deletions

25
Rider.h Normal file
View file

@ -0,0 +1,25 @@
//
// Created by benmo on 10/13/2020.
//
#ifndef SFML_TEMPLATE_RIDER_H
#define SFML_TEMPLATE_RIDER_H
class Rider : public MySprite {
protected:
bool followsDirection = false, followsPosition = true;
public:
Rider(const sf::Texture &texture, float scale) : MySprite(texture, scale) {}
bool doesFollowDirection() const {
return followsDirection;
}
bool doesFollowPosition() const {
return followsPosition;
}
};
#endif //SFML_TEMPLATE_RIDER_H