PlayerKam.h 661 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <Bildschirm.h>
  3. #include <Kam3D.h>
  4. #include <TastaturEreignis.h>
  5. #include <Zeit.h>
  6. class PlayerKam : public Framework::Kam3D
  7. {
  8. private:
  9. bool kameraControll;
  10. int entityId;
  11. public:
  12. PlayerKam(Framework::Bildschirm3D* zScreen);
  13. void setDirection(Framework::Vec3<float> direction);
  14. void doTastaturEreignis(Framework::TastaturEreignis& te) override;
  15. void doMausEreignis(Framework::MausEreignis& me) override;
  16. bool tick(double time) override;
  17. void setEntityId(int id);
  18. void setControlEnabled(bool enabled);
  19. int getEntityId() const;
  20. Framework::Vec3<float> getDirection() const;
  21. };