Player.h 262 B

123456789101112131415161718
  1. #pragma once
  2. #include "Unit.h"
  3. DECLARE_SMART(Player, spPlayer);
  4. class Player: public Unit
  5. {
  6. public:
  7. Player();
  8. protected:
  9. void _init();
  10. void _update(const UpdateState& us);
  11. spSprite _engine;
  12. spSprite _ship;
  13. timeMS _lastRocketSpawn;
  14. };