public class Frame
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
display |
long |
timestamp
The time of creation
|
int |
width |
int |
x |
int |
y |
Constructor and Description |
---|
Frame(int[] map,
int width)
Creates a new centered frame
|
Frame(int x,
int y,
int[] map,
int width)
Create a new non-centered frame
|
Modifier and Type | Method and Description |
---|---|
int[] |
getDisplay()
Gives a mutable array of bytes
|
public final long timestamp
public final int x
public final int y
public final int width
protected final int[] display
public Frame(int x, int y, int[] map, int width)
x
- The top left X of the given frame, can be any numbery
- The top left Y of the given frame, can be any numbermap
- The map data, in MinecraftColor byteswidth
- The width of this framepublic Frame(int[] map, int width)
map
- The map data, in integer color.width
- The width of this frame