liberty-engine ~master (2019-02-13T12:42:06Z)
Dub
Repo
TileMap
liberty
framework
gui
tilemap
*
final
class
TileMap :
Widget
{
mixin
WidgetEventProps
!([
Event
.
MouseLeftClick
,
Event
.
MouseMiddleClick
,
Event
.
MouseRightClick
,
Event
.
MouseOver
,
Event
.
MouseMove
,
Event
.
MouseEnter
,
Event
.
MouseLeave
,
Event
.
Update
],
"custom"
)
;
mixin
WidgetConstructor
;
TileMap
setZIndex
(int index);
TileMap
build
(int xStartLocation, int yStartLocation, int xDimension, int yDimension, int xScale, int yScale, int xSpaceBetween, int ySpaceBetween);
TileMap
build
(Vector2I startLocation, Vector2I dimension, Vector2I scale, Vector2I spaceBetween);
Button
[]
getTiles
();
Button
getTile
(int x, int y);
Button
getTile
(Vector2I index);
Vector2I
getDimension
();
}
Members
Functions
build
TileMap
build
(int xStartLocation, int yStartLocation, int xDimension, int yDimension, int xScale, int yScale, int xSpaceBetween, int ySpaceBetween)
*
build
TileMap
build
(Vector2I startLocation, Vector2I dimension, Vector2I scale, Vector2I spaceBetween)
*
getDimension
Vector2I
getDimension
()
*
getTile
Button
getTile
(int x, int y)
*
getTile
Button
getTile
(Vector2I index)
*
getTiles
Button
[]
getTiles
()
*
setZIndex
TileMap
setZIndex
(int index)
*
Mixins
__anonymous
mixin
WidgetEventProps
!([
Event
.
MouseLeftClick
,
Event
.
MouseMiddleClick
,
Event
.
MouseRightClick
,
Event
.
MouseOver
,
Event
.
MouseMove
,
Event
.
MouseEnter
,
Event
.
MouseLeave
,
Event
.
Update
],
"custom"
)
Undocumented in source.
__anonymous
mixin
WidgetConstructor
Undocumented in source.
Mixed In Members
From
mixin
WidgetConstructor
this
this
(string id, Gui gui)
*
Inherited Members
From Widget
getGui
Gui
getGui
()
*
setIndex
typeof
(
this
)
setIndex
(int x, int y)
* * Returns reference to this so it can be used in a stream.
setIndex
typeof
(
this
)
setIndex
(Vector2I value)
* * Returns reference to this so it can be used in a stream.
getIndex
Vector2I
getIndex
()
*
isMouseColliding
bool
isMouseColliding
()
*
setZIndex
typeof
(
this
)
setZIndex
(int value)
* * Returns reference to this so it can be used in a stream.
getZIndex
int
getZIndex
()
*
update
void
update
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
liberty
framework
gui
tilemap
classes
TileMap
*