|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBasicCollisionGroup
vooga.games.grandius.collisions.BasicCollision
public class BasicCollision
This class takes care of collisions between a player-side sprite (player itself or the fired bullet)and a common enemy which could be a Boomer or a Zipster.
Field Summary | |
---|---|
protected Game |
myGame
|
Constructor Summary | |
---|---|
BasicCollision(Game grandius)
|
Method Summary | |
---|---|
void |
collided(Sprite playerSideSprite,
Sprite commonEnemy)
|
Player |
getPlayer()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Game myGame
Constructor Detail |
---|
public BasicCollision(Game grandius)
Method Detail |
---|
public void collided(Sprite playerSideSprite, Sprite commonEnemy)
public Player getPlayer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |