Tile.this

this(short width, short height, short id, Vec2 position = Vec2()) @safe nothrow @nogc

Constructs a tile with the given size, id, and position.

this(short width, short height, short id, float x, float y) @safe nothrow @nogc

Constructs a tile with the given size, id, and position components.