コード例 #1
0
ファイル: Gobble.java プロジェクト: dolda2000/salem-client
 public void draw(GOut g) {
   super.draw(g);
   if (lvlmask != null) {
     long now = System.currentTimeMillis();
     if (now - lvltime > 1000) {
       lvlmask.dispose();
       lvlmask = null;
     } else {
       g.chcolor(255, 255, 255, 255 - (int) ((255 * (now - lvltime)) / 1000));
       g.image(lvlmask, Coord.z);
     }
   }
 }
コード例 #2
0
ファイル: Gobble.java プロジェクト: dolda2000/salem-client
 public void destroy() {
   typelist.destroy();
   super.destroy();
 }