Jazz2::Editor::ILevelView class

Shows the level being edited, see IToolHost.

Derived classes

class IToolHost
What tools need from the level editor.

Constructors, destructors, conversion operators

~ILevelView() defaulted virtual

Public functions

auto GetLayerView(std::int32_t layer) -> LayerView pure virtual
Returns how a layer is shown in the view.
void PreviewTile(std::int32_t layer, std::int32_t x, std::int32_t y, const TileRef& tile) pure virtual
Shows a tile in the view before it's changed in the level.
void RevertPreview(std::int32_t layer, const Recti& area) pure virtual
Shows tiles of an area as the level has them, undoing a preview.
auto GetTileMap() -> Tiles::TileMap* pure virtual
Returns the shown level, or nullptr.
auto GetCamera() -> EditorCamera* pure virtual
Returns the camera, or nullptr.
auto GetEventPreviews() -> EventPreviews& pure virtual
Returns what draws events.
auto GetAnimTime() const -> float pure virtual
Returns the time animations of the interface are at.