12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef Editor_H
- #define Editor_H
- #include "../../../../../Klient/Include/EditorV.h"
- #include "Interface\Interface.h"
- #include "Netzwerk\EditorKlient.h"
- #include "Interface\Dialogs\Dialog.h"
- #include "Karte\EditorKarte.h"
- #include <Kamera2D.h>
- namespace Editor
- {
- class AsteroidsEditor : public EditorV
- {
- private:
- enum Status
- {
- START,
- SITZUNG_FRAGE,
- INITIALIZED,
- WARTEND,
- EXIT
- };
- Status status;
- UIInit uiFactory;
- EditorKlient *klient;
- Animation2D *laden;
- Interface *i;
- Array< Dialog * > *dialogs;
- Critical c;
- Punkt windowSize;
- SpielerTeamStruktur *sts;
- KarteDaten *daten;
- Kamera2D *kamera;
- Kamera2D *minimap;
- Punkt maus;
- EditorObject *moveObj;
- EditorObject *rotObj;
- unsigned char alpha;
- bool rend;
- void ladeKarte();
- public:
- // Konstruktor
- AsteroidsEditor();
- // Destruktor
- ~AsteroidsEditor();
- // nicht constant
- void addDialog( Dialog *d );
- void setUIFactory( UIInit &uiFactory ) override;
- void setKlient( KSGClient::EditorServerClient *ekv ) override;
- void setLadeAnimation( Animation2D *la ) override;
- void setSichtbar() override;
- void doPublicMausEreignis( MausEreignis &me ) override;
- void doTastaturEreignis( TastaturEreignis &te ) override;
- bool tick( double z ) override;
- void render( Bild &zRObj ) override;
- // constant
- bool hatVerlassen( bool jetzt ) const override;
- };
- }
- #endif
|