jeux.entities
Class Bullet

java.lang.Object
  extended by jeux.entities.Entity
      extended by jeux.entities.Bullet

public class Bullet
extends Entity

Author:
jub Un boulet qui monte (tiré par le player)

Field Summary
 
Fields inherited from class jeux.entities.Entity
height, markedForRemoval, speed, spriteName, t, width, world, x, y
 
Constructor Summary
Bullet(World world)
          Construit un bullet avec comme sprite shot.gif et comme son d'apparition 608.wav.
 
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
 

Constructor Detail

Bullet

public Bullet(World world)
Construit un bullet avec comme sprite shot.gif et comme son d'apparition 608.wav.

Parameters:
world - le monde du bullet
Method Detail

act

public void act()
Description copied from class: Entity
L'action d'une entité par défaut aucune action

Overrides:
act in class Entity