|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalGameControl
Extended game control interface for internal use.
Method Summary | |
---|---|
void |
addParticle(Particle particle)
|
void |
addProjectile(ShootableObject shootable)
|
void |
callScript(java.lang.String name,
java.lang.Object... args)
|
com.golden.gamedev.object.SpriteGroup |
getGhostsSpriteGroup()
|
Level |
getLevel()
|
java.util.List<MoaggGameObject> |
getObjects()
|
java.util.List<Platform> |
getPlatforms()
|
com.golden.gamedev.object.SpriteGroup |
getPlayersSpriteGroup()
|
com.golden.gamedev.object.SpriteGroup |
getProjectilesSpriteGroup()
|
boolean |
isBackgroundBetween(MoaggGameObject o1,
MoaggGameObject o2)
|
boolean |
isPlatformCollisionActive(Ship player)
Called by the collision handlers to determine if a detected Ship/Platform collision has to be handled. |
void |
onObjectObjectCollision(MoaggGameObject object1,
MoaggGameObject object2)
|
void |
onObjectPlaygroundCollision(MoaggGameObject object)
|
void |
resetPlatformCollisionTimer(Ship player)
Called by the LandingHandler if a player takes off from a platform. |
void |
update(long elapsedTime)
|
Methods inherited from interface moagg.game.control.GameControl |
---|
addFriction, addGravity, addObjective, addStreamSpeed, finish, getFrictionFor, getGravityFor, getObjectById, getPlayer, getStreamSpeedFor, setPopUpText, setPopUpText, setStatusText |
Method Detail |
---|
void update(long elapsedTime)
void addParticle(Particle particle)
void addProjectile(ShootableObject shootable)
Level getLevel()
com.golden.gamedev.object.SpriteGroup getProjectilesSpriteGroup()
com.golden.gamedev.object.SpriteGroup getGhostsSpriteGroup()
com.golden.gamedev.object.SpriteGroup getPlayersSpriteGroup()
java.util.List<Platform> getPlatforms()
java.util.List<MoaggGameObject> getObjects()
boolean isBackgroundBetween(MoaggGameObject o1, MoaggGameObject o2)
void resetPlatformCollisionTimer(Ship player)
player
- The player who took of a platform.boolean isPlatformCollisionActive(Ship player)
player
- The player who collided with a Platform.
void onObjectPlaygroundCollision(MoaggGameObject object)
void onObjectObjectCollision(MoaggGameObject object1, MoaggGameObject object2)
void callScript(java.lang.String name, java.lang.Object... args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |