| Constructor and Description |
|---|
CharacterSprite(int width,
int height,
boolean[] data) |
| Modifier and Type | Method and 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 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 © 2015. All rights reserved.