Tile

A tile resource.

Constructors

this
this(RaylibCell cell, Pack.Resource!string resource)

Create the tile and load textures.

Members

Functions

draw
void draw()

Draw the tile

Variables

cell
RaylibCell cell;

Owner object.

options
const(ResourceOptions)* options;

Tile options loaded

scale
float scale;

Display scale of the tile.

texture
Texture2D texture;

Loaded texture.

Meta