1234567891011121314151617181920212223 |
- #ifndef PLAYER_H
- #define PLAYER_H
-
- #include "entity.h"
- #include "olcPGE_Common.h"
-
- namespace pabloader {
-
- class Player : public Entity {
- public:
- Player(Awoorwae* game);
- void Update(float dt) override;
- void Draw() override;
-
- private:
- int tile = 0;
- int skin = 0;
- int tileCounter = 0;
- bool onGround = false;
- };
- }
-
- #endif
|