暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

player.h 345B

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