| Constructor | Description |
|---|---|
CharacterSprite(int width,
int height,
boolean[] data) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
get(int row,
int col) |
Get the value of a pixel of the character.
|
int |
getHeight() |
Get the height of the character sprite.
|
int |
getWidth() |
Get the width of the character sprite.
|
public CharacterSprite(int width,
int height,
@NotNull
boolean[] data)
public boolean get(int row,
int col)
row - The row, in the range [0,8).col - The column, in the range [0,8).public int getWidth()
public int getHeight()
Copyright © 2020. All rights reserved.