Package pvzclone.model.api
Interface Zombie
- All Superinterfaces:
 ActiveEntities,Entities
- All Known Implementing Classes:
 ZombieImpl
This interface models a Zombie Entity.
- 
Method Summary
Methods inherited from interface pvzclone.model.api.ActiveEntities
getCooldown, getDamage, getLastTimeAttack, getRemainingLife, receiveDamage, setLastTimeAttackMethods inherited from interface pvzclone.model.api.Entities
getEntityName, getPosition, isAlive 
- 
Method Details
- 
moveLeft
void moveLeft()Moves Zombie to the left. - 
setCanGo
void setCanGo(boolean canGo) Sets the boolean based on whether the Zombie can move or not.- Parameters:
 canGo- true if Zombie can move, false otherwise.
 - 
isCanGo
boolean isCanGo()- Returns:
 - boolean canGo, which tells us if Zombie can move or not.
 
 
 -