RailTool

Undocumented in source.

Constructors

this
this(ClientWorld clientWorld, BlockEntityManager blockEntityManager, NetClientPlugin connection, WorldInteractionPlugin worldInteraction)
Undocumented in source.

Members

Enums

EditState
enum EditState
Undocumented in source.

Functions

drawLine
void drawLine(BlockWorldPos start, BlockWorldPos end, GraphicsPlugin graphics, Colors color)
Undocumented in source. Be warned that the author may not have intended to support it.
onMainActionPress
void onMainActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onMainActionRelease
void onMainActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender(GraphicsPlugin graphics)
Undocumented in source. Be warned that the author may not have intended to support it.
onRotateAction
void onRotateAction()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionPress
void onSecondaryActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionRelease
void onSecondaryActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onShowDebug
void onShowDebug()
Undocumented in source. Be warned that the author may not have intended to support it.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

blockEntityManager
BlockEntityManager blockEntityManager;
Undocumented in source.
clientWorld
ClientWorld clientWorld;
Undocumented in source.
connection
NetClientPlugin connection;
Undocumented in source.
curLength
uint curLength;
Undocumented in source.
cursorOrientation
RailOrientation cursorOrientation;
Undocumented in source.
cursorPos
BlockWorldPos cursorPos;
Undocumented in source.
diagonalRailSide
DiagonalRailSide diagonalRailSide;
Undocumented in source.
maxPos
RailPos maxPos;
Undocumented in source.
minPos
RailPos minPos;
Undocumented in source.
segment
RailSegment segment;
Undocumented in source.
startingPos
BlockWorldPos startingPos;
Undocumented in source.
state
EditState state;
Undocumented in source.
worldInteraction
WorldInteractionPlugin worldInteraction;
Undocumented in source.

Inherited Members

From ITool

name
string name;
Undocumented in source.
id
size_t id;
Undocumented in source.
onUpdate
void onUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
onRender
void onRender(GraphicsPlugin renderer)
Undocumented in source. Be warned that the author may not have intended to support it.
onShowDebug
void onShowDebug()
Undocumented in source. Be warned that the author may not have intended to support it.
onMainActionPress
void onMainActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onMainActionRelease
void onMainActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionPress
void onSecondaryActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onSecondaryActionRelease
void onSecondaryActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onTertiaryActionPress
void onTertiaryActionPress()
Undocumented in source. Be warned that the author may not have intended to support it.
onTertiaryActionRelease
void onTertiaryActionRelease()
Undocumented in source. Be warned that the author may not have intended to support it.
onRotateAction
void onRotateAction()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta