Skip to content
Ratchaphon Manosuthi edited this page Jan 19, 2016 · 2 revisions

The game's console can be called using

new Console(int x, int y, int width, int height, String ConsoleType).draw(graphics);

Recommendations

  • Use scaling when available. The class is currently using this.getWidth() inherited from "Map.java".
  • Make sure your integers are inside of bound.

Parameters accepted

  • int x: x position of the console, starting from the left (0 -> +inf)
  • int y: y position of the console, starting from the top (0 -> +inf)
  • int width: width of the console.
  • int height: height of the console.
  • String ConsoleTheme: the console themes

Available console themes

  • Default
  • Source
  • Beth's (TES, FO, ...)
  • Unix
Clone this wiki locally