feud.testgame.util
Class TextBlitter
java.lang.Object
feud.testgame.util.TextBlitter
- public class TextBlitter
- extends java.lang.Object
A class to blit text. Based on class written by CyberKilla.
Method Summary |
static void |
blitText(com.threed.jpct.FrameBuffer buffer,
java.lang.String line,
int x,
int y)
Blits some text. |
static void |
blitText(com.threed.jpct.FrameBuffer buffer,
java.lang.String line,
int x,
int y,
int maxX,
int maxY)
Blits some text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextBlitter
public TextBlitter()
blitText
public static void blitText(com.threed.jpct.FrameBuffer buffer,
java.lang.String line,
int x,
int y)
- Blits some text.
- Parameters:
buffer
- the blitting targetline
- the textx
- the x-position of the texty
- the y-position of the text
blitText
public static void blitText(com.threed.jpct.FrameBuffer buffer,
java.lang.String line,
int x,
int y,
int maxX,
int maxY)
- Blits some text.
- Parameters:
buffer
- the blitting targetline
- the textx
- the x-position of the texty
- the y-position of the textmaxX
- the x-limit of the area to blit intomaxY
- the y-limit of the area to blit into