public class MyTank extends TankState
Constructor | Description |
---|---|
MyTank(WallState walls) |
create my tank with walls
|
Modifier and Type | Method | Description |
---|---|---|
java.awt.event.MouseListener |
getMouseListener() |
create a mouseListener for nothing
|
java.awt.event.MouseMotionListener |
getMouseMotionListener() |
|
MyListener |
getMyListener() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBullets, getTankLife, getWalls, hasLaser, hasShield, isHasMoreLife, setHasLaser, setHasMoreLife, setHasShield, setTankLife, update
public MyTank(WallState walls)
walls
- are the walls in gamepublic java.awt.event.MouseListener getMouseListener()
public java.awt.event.MouseMotionListener getMouseMotionListener()
public MyListener getMyListener()
getMyListener
in class TankState