v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
38
source/frontend/StarTeleportDialog.hpp
Normal file
38
source/frontend/StarTeleportDialog.hpp
Normal file
|
@ -0,0 +1,38 @@
|
|||
#ifndef STAR_TELEPORTER_DIALOG_HPP
|
||||
#define STAR_TELEPORTER_DIALOG_HPP
|
||||
|
||||
#include "StarPane.hpp"
|
||||
#include "StarWarping.hpp"
|
||||
#include "StarPlayerUniverseMap.hpp"
|
||||
#include "StarBookmarkInterface.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
STAR_CLASS(UniverseClient);
|
||||
STAR_CLASS(PaneManager);
|
||||
|
||||
class TeleportDialog : public Pane {
|
||||
public:
|
||||
TeleportDialog(UniverseClientPtr client,
|
||||
PaneManager* paneManager,
|
||||
Json config,
|
||||
EntityId sourceEntityId,
|
||||
TeleportBookmark currentLocation);
|
||||
|
||||
void tick() override;
|
||||
|
||||
void selectDestination();
|
||||
void teleport();
|
||||
void editBookmark();
|
||||
|
||||
private:
|
||||
EntityId m_sourceEntityId;
|
||||
UniverseClientPtr m_client;
|
||||
PaneManager* m_paneManager;
|
||||
List<pair<WarpAction, bool>> m_destinations;
|
||||
TeleportBookmark m_currentLocation;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue