voxelman ~master (2018-10-12T19:51:42Z)
Dub
Repo
WagonServerComponent
railroad
wagon
wagon
Undocumented in source.
@
Component
("railroad.wagon.server",
Replication
.
toDb
)
struct
WagonServerComponent {
RailPos
railTilePos
;
RailSegment
currentSegment
;
ubyte
targetConnection
;
float
segmentPos
;
float
speed
;
vec3
dimPosition
();
ChunkWorldPos
chunk
(vec3 wagonDimPos);
ChunkWorldPos
chunk
();
}
Members
Functions
chunk
ChunkWorldPos
chunk
(vec3 wagonDimPos)
Undocumented in source. Be warned that the author may not have intended to support it.
chunk
ChunkWorldPos
chunk
()
Undocumented in source. Be warned that the author may not have intended to support it.
dimPosition
vec3
dimPosition
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
currentSegment
RailSegment
currentSegment
;
Undocumented in source.
railTilePos
RailPos
railTilePos
;
Undocumented in source.
segmentPos
float
segmentPos
;
Undocumented in source.
speed
float
speed
;
Undocumented in source.
targetConnection
ubyte
targetConnection
;
Undocumented in source.
Meta
Source
See Implementation
railroad
wagon
wagon
structs
WagonClientComponent
WagonLogicServer
WagonPos
WagonServerComponent