yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::MinecartCanvasBinding Struct Reference

#include <minecart_canvas_tool.h>

Public Attributes

std::span< const MinecartTrack > tracks
 
int selected = -1
 
int picking = -1
 
uint64_t revision = 0
 
bool enabled = false
 
std::function< void(int)> select
 
std::function< absl::Status(const MinecartTrack &, const MinecartTrack &) move )
 
std::function< void()> cancel_pick
 

Detailed Description

Definition at line 32 of file minecart_canvas_tool.h.

Member Data Documentation

◆ tracks

std::span<const MinecartTrack> yaze::editor::MinecartCanvasBinding::tracks

◆ selected

int yaze::editor::MinecartCanvasBinding::selected = -1

Definition at line 34 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().

◆ picking

int yaze::editor::MinecartCanvasBinding::picking = -1

Definition at line 35 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().

◆ revision

uint64_t yaze::editor::MinecartCanvasBinding::revision = 0

Definition at line 36 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().

◆ enabled

bool yaze::editor::MinecartCanvasBinding::enabled = false

Definition at line 37 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().

◆ select

std::function<void(int)> yaze::editor::MinecartCanvasBinding::select

Definition at line 38 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().

◆ move

std::function<absl::Status(const MinecartTrack&, const MinecartTrack&) yaze::editor::MinecartCanvasBinding::move)

Definition at line 39 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().

◆ cancel_pick

std::function<void()> yaze::editor::MinecartCanvasBinding::cancel_pick

Definition at line 40 of file minecart_canvas_tool.h.

Referenced by yaze::editor::MinecartCanvasTool::Draw().


The documentation for this struct was generated from the following file: