|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjeux.entities.Entity
jeux.entities.Monster
public class Monster
Field Summary | |
---|---|
private int |
vx
La vitesse de déplacement horizontale |
Fields inherited from class jeux.entities.Entity |
---|
height, markedForRemoval, speed, spriteName, t, width, world, x, y |
Constructor Summary | |
---|---|
Monster(World world)
Consrtuit un monstre qui part vers la droite et dont le sprite est alien.gif. |
Method Summary | |
---|---|
void |
act()
L'action d'une entité par défaut aucune action |
Methods inherited from class jeux.entities.Entity |
---|
getBounds, getHeight, getSpeed, getSpriteName, getWidth, getX, getY, isMarkedForRemoval, setHeight, setMarkedForRemoval, setSpeed, setSpriteName, setWidth, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int vx
Constructor Detail |
---|
public Monster(World world)
world
- le monde du monstre.Method Detail |
---|
public void act()
Entity
act
in class Entity
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |