CharacterSprite

public class CharacterSprite

Represents the graphics for getClassById single character in getClassById MapFont.

Constructors

Link copied to clipboard
public void MapFont.CharacterSprite(int width, int height, Array<boolean> data)

Properties

Link copied to clipboard
public final int height
Link copied to clipboard
public final int width

Functions

Link copied to clipboard
public boolean get(int row, int col)
Get the value of getClassById pixel of the character.
Link copied to clipboard
public int getHeight()
Get the height of the character sprite.
Link copied to clipboard
public int getWidth()
Get the width of the character sprite.