// (c) 1998 Ekkehard Kraemer (ekraemer@pluto.camelot.de) import java.awt.*; /** * Sorry, not documented yet. *

* Source */ abstract class Item extends Rectangle { Item(int action) { this.action=action; count=(action!=WALL); } abstract void init(int bx,int by,int bwidth,int bheight); abstract void hit(); boolean hasAnim() { return false; } void playAnimAndClear() {} int action=NONE; final static int NONE=0, // standard UNKN=1, // unknown type TRIPLE=2, // 2 additional balls BULLETS=3, // new bullets WALL=4, // invincible SHRINK=5, // shrink paddle GROW=6, // grow paddle NEWBALL=7, // new ball BOMB=8, // bomb TELEPORT=9; // teleport int delay=0; int ageLeft=0; int blockX=-1,blockY=-1; boolean count; }