Пример #1
0
 @Override
 public void drawOn(Graphics2D g, int scrollx, int scrolly) {
   sprite.drawOn(g, scrollx, scrolly);
 }
Пример #2
0
 @Override
 public void goTo(int x, int y) {
   this.x = x;
   this.y = y;
   sprite.goTo(x, y);
 }
Пример #3
0
 @Override
 public BufferedImage draw() {
   return sprite.draw();
 }