Beispiel #1
0
 public override void draw(Graphics g, Player p)
 {
     caller.draw(g, p);
     Sprites.drawBox(g, 0, 13, 20, 5);
     if (lines.Length > textLine)
     {
         Sprites.drawString(g, lines[textLine], 1, 14);
     }
     if (lines.Length > textLine + 1)
     {
         Sprites.drawString(g, lines[textLine + 1], 1, 16);
     }
 }
Beispiel #2
0
 public void draw()
 {
     state.draw(g, this);
 }
Beispiel #3
0
 public override void draw(Graphics g, Player p)
 {
     caller.draw(g, p);
 }