Без опису
Ви не можете вибрати більше 25 тем Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. #ifndef PLAYER_H
  2. #define PLAYER_H
  3. #include "entity.h"
  4. #include "olcPGE_Common.h"
  5. namespace pabloader {
  6. class Player : public Entity {
  7. public:
  8. Player(Awoorwae* game);
  9. void Update(float dt) override;
  10. void Draw() override;
  11. private:
  12. int tile = 0;
  13. int skin = 0;
  14. int tileCounter = 0;
  15. bool onGround = false;
  16. };
  17. }
  18. #endif