|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.BasicGame org.newdawn.slick.tests.UnicodeFontTest
public class UnicodeFontTest
A simple test of the unicode font functionality provided
Field Summary |
---|
Fields inherited from class org.newdawn.slick.BasicGame |
---|
controllerButton, controllerDown, controllerLeft, controllerRight, controllerUp |
Constructor Summary | |
---|---|
UnicodeFontTest()
Create the simple font test |
Method Summary | |
---|---|
void |
init(GameContainer container)
Initialise the game. |
static void |
main(java.lang.String[] args)
Entry point to our simple test |
void |
render(GameContainer container,
Graphics g)
Render the game's screen here. |
void |
update(GameContainer container,
int delta)
Update the game logic here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnicodeFontTest()
Method Detail |
---|
public void init(GameContainer container) throws SlickException
Game
init
in interface Game
init
in class BasicGame
container
- The container holding the game
SlickException
- Throw to indicate an internal errorBasicGame.init(org.newdawn.slick.GameContainer)
public void render(GameContainer container, Graphics g)
Game
container
- The container holing this gameg
- The graphics context that can be used to render. However, normal rendering
routines can also be used.Game.render(org.newdawn.slick.GameContainer, org.newdawn.slick.Graphics)
public void update(GameContainer container, int delta) throws SlickException
Game
update
in interface Game
update
in class BasicGame
container
- The container holing this gamedelta
- The amount of time thats passed since last update in milliseconds
SlickException
- Throw to indicate an internal errorBasicGame.update(org.newdawn.slick.GameContainer, int)
public static void main(java.lang.String[] args) throws SlickException, java.io.IOException
args
- The arguments supplied to the test
SlickException
- Indicates a failure loading or processing resources
java.io.IOException
- Indicates a failure loading the font
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |