Tileset

Undocumented in source.

Constructors

this
this(Texture newTexture, Vec2i newOffset, Vec2i newGrid, Vec2i newTileSize, int newNbTiles)
Undocumented in source.

Members

Functions

asSprites
Sprite[] asSprites()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(uint id, Vec2f position)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw(Timer timer, Vec2f position)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRotated
void drawRotated(Timer timer, Vec2f position)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRotated
void drawRotated(uint id, Vec2f position)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

grid
Vec2i grid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isLoaded
bool isLoaded [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
offset
Vec2i offset [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
texture
Texture texture [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tileSize
Vec2f tileSize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

anchor
Vec2f anchor;
Undocumented in source.
angle
float angle;
Undocumented in source.
blend
Blend blend;
Undocumented in source.
color
Color color;
Undocumented in source.
flip
Flip flip;
Undocumented in source.
scale
Vec2f scale;
Undocumented in source.

Meta