Package pvzclone.model.api
Interface Bullet
- All Superinterfaces:
Entities
- All Known Implementing Classes:
BulletImpl
interface for the bullet.
-
Method Summary
Methods inherited from interface pvzclone.model.api.Entities
getEntityName, getPosition, isAlive
-
Method Details
-
getSpeed
double getSpeed()- Returns:
- the speed of the bullet.
-
getDamage
double getDamage()- Returns:
- the damage of the bullet.
-
move
void move()moves the position of the bullet.
-