Uses of Class
data.GameEntity

Packages that use GameEntity
data   
logic   
 

Uses of GameEntity in data
 

Subclasses of GameEntity in data
 class Balloon
           
 class Bonus
           
 class Obstacle
           
 class Player
           
 class Sting
           
 

Methods in data with parameters of type GameEntity
 void Sting.collidedWith(GameEntity entity)
          This function will check the collision with only balloons and obstacles since the only things it can shoot is them
 void Player.collidedWith(GameEntity entity)
          When player collides with a Balloon s/he enters a respawn state unless s/he has 0 lives.
 void Obstacle.collidedWith(GameEntity entity)
          When a collision between a Sting and obstacle, obstacle will be destroyed if it is breakable.
abstract  void GameEntity.collidedWith(GameEntity entity)
          Collision responses will take within Game Entities.
 void Bonus.collidedWith(GameEntity entity)
          When a bonus is taken (collided) by a Player, it will cast the entity to Player and will alter the qualifications of player.
 void Balloon.collidedWith(GameEntity entity)
          This collision method does the necessary processes when collision between an Obstacle and Balloon occurs.
 boolean GameEntity.collidesWith(GameEntity entity)
          This method check the collision between itself and another entity.
 

Uses of GameEntity in logic
 

Methods in logic with parameters of type GameEntity
 void GameEngine.addEntity(GameEntity entity)
          In this method we add new entity (like bonus or sting) to our GameEntity list.
 void GameEngine.removeEntity(GameEntity entity)
          This method removes a certain entity from the list.