Package pvzclone.model.api
Interface Sun
- All Superinterfaces:
Entities
- All Known Implementing Classes:
SunImpl
Interface that models a Sun Entity and provides
methods to interact with the entity.
-
Method Summary
Methods inherited from interface pvzclone.model.api.Entities
getEntityName, getPosition, isAlive
-
Method Details
-
kill
void kill()It kills the sun. -
getPoints
int getPoints()- Returns:
- the points obtained if the sun is touched (killed).
-
moveDown
void moveDown()It changes the sun position in the y axis towards the bottom.
-