ObjectSheet.Index

Defines a single index

Constructors

this
this(uint id, Size x, Size y, ubyte width, ubyte height, byte displayOffsetX, byte displayOffsetY, string _name)

Default ctor

this
this(Index!false src)

Converts from a non memory resident type

this
this(Index src)

Convert from a memory resident type

Members

Properties

name
string name [@property getter]

Returns the name of the object

name
string name [@property setter]

Sets the name of the object if input's length is less or equal than 255

Variables

displayOffsetX
byte displayOffsetX;

Describes the offset compared to the average when the object needs to be displayed.

displayOffsetY
byte displayOffsetY;

Describes the offset compared to the average when the object needs to be displayed.

height
ubyte height;

The height of this object

id
uint id;

ID of this object

nameLength
ubyte nameLength;

Length of next field

width
ubyte width;

The width of this object

x
Size x;

Top-left origin point of the object (X)

y
Size y;

Top-left origin point of the object (Y)

Meta