Пример #1
0
 public void draw(GLEx g, float x, float y, float w, float h) {
   if (isClose) {
     return;
   }
   update();
   g.drawTexture(texture, x, y, w, h);
 }
Пример #2
0
 public void draw(
     GLEx g, float x1, float y1, float w1, float h1, float x2, float y2, float w2, float h2) {
   if (isClose) {
     return;
   }
   update();
   g.drawTexture(texture, x1, y1, w1, h1, x2, y2, w2, h2);
 }
Пример #3
0
 public void createUI(GLEx g) {
   if (isVisible) {
     g.drawTexture(animation.getSpriteImage(), x(), y());
   }
 }
Пример #4
0
 public void draw(GLEx g, float x, float y, int sx, int sy) {
   checkImage(sx, sy);
   g.drawTexture(subImages[sx][sy], x, y);
 }