Serialized Form
-
Package dev.kyzel.gfx
-
Class dev.kyzel.gfx.Renderer
class Renderer extends JPanel implements Serializable-
Serialized Fields
-
FPS
int FPS
The frame rate (FPS). -
game
Game game
The game to render. -
gameImage
BufferedImage gameImage
The mainBufferedImage
, which the Renderer uses to draw on. -
height
int height
The width and height of this instance. -
originalUnitSize
int originalUnitSize
The unit size of sprites. -
scale
int scale
The desired scale. -
unitSize
int unitSize
The actual unit size of sprites after scaling. -
width
int width
The width and height of this instance.
-
-
-
Class dev.kyzel.gfx.Window
class Window extends JFrame implements Serializable-
Serialized Fields
-
gd
GraphicsDevice gd
The GraphicsDevice where the code runs on. -
render
Renderer render
The renderer of this Window.
-
-
-