moagg.game.control
Class MultiPlayerClientGameControlImpl

java.lang.Object
  extended by moagg.game.control.AbstractGameControlImpl
      extended by moagg.game.control.MultiPlayerClientGameControlImpl
All Implemented Interfaces:
GameControl, InternalGameControl

public class MultiPlayerClientGameControlImpl
extends AbstractGameControlImpl


Field Summary
 
Fields inherited from class moagg.game.control.AbstractGameControlImpl
collisionHandler, level, log, platformCollisionTimers
 
Constructor Summary
MultiPlayerClientGameControlImpl(MultiPlayerClientGameObject levelGame)
           
 
Method Summary
 void addObjective(Objective objective)
          Deprecated. 
 void addParticle(Particle particle)
           
 void addProjectile(ShootableObject shootable)
          Deprecated. 
 void callScript(java.lang.String name, java.lang.Object... args)
           
 com.golden.gamedev.object.SpriteGroup getGhostsSpriteGroup()
          Deprecated. 
 Ship getPlayer()
           
 com.golden.gamedev.object.SpriteGroup getPlayersSpriteGroup()
           
 com.golden.gamedev.object.SpriteGroup getProjectilesSpriteGroup()
           
 void onObjectObjectCollision(MoaggGameObject object1, MoaggGameObject object2)
          Deprecated. 
 void onObjectPlaygroundCollision(MoaggGameObject object)
          Deprecated. 
 void setPopUpText(java.lang.String key)
          Deprecated. 
 void setPopUpText(java.lang.String key, java.lang.Object... args)
          Deprecated. 
 void setStatusText(java.lang.String text)
          Deprecated. 
 void update(long elapsedTime)
           
 
Methods inherited from class moagg.game.control.AbstractGameControlImpl
addFriction, addGravity, addStreamSpeed, cleanup, finish, getFrictionFor, getGravityFor, getLevel, getObjectById, getObjects, getPlatformCollisionTimer, getPlatforms, getStreamSpeedFor, initScripting, isBackgroundBetween, isFinished, isPlatformCollisionActive, resetPlatformCollisionTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPlayerClientGameControlImpl

public MultiPlayerClientGameControlImpl(MultiPlayerClientGameObject levelGame)
Method Detail

update

public void update(long elapsedTime)
Specified by:
update in interface InternalGameControl
Overrides:
update in class AbstractGameControlImpl

addParticle

public void addParticle(Particle particle)

getProjectilesSpriteGroup

public com.golden.gamedev.object.SpriteGroup getProjectilesSpriteGroup()

getPlayersSpriteGroup

public com.golden.gamedev.object.SpriteGroup getPlayersSpriteGroup()

getPlayer

public Ship getPlayer()
Returns:
The player's ship.

addObjective

@Deprecated
public void addObjective(Objective objective)
Deprecated. 

Parameters:
objective - The objective to add.

addProjectile

@Deprecated
public void addProjectile(ShootableObject shootable)
Deprecated. 


setPopUpText

@Deprecated
public void setPopUpText(java.lang.String key)
Deprecated. 

Description copied from interface: GameControl
Stores a text for being displayed in a pop-up window.

Parameters:
key - The key to use for the properties lookup.

setPopUpText

@Deprecated
public void setPopUpText(java.lang.String key,
                                    java.lang.Object... args)
Deprecated. 

Description copied from interface: GameControl
Stores a text for being displayed in a pop-up window.

Parameters:
key - The key to use for the properties lookup.
args - Optional arguments to be filled into the text.

setStatusText

@Deprecated
public void setStatusText(java.lang.String text)
Deprecated. 

Parameters:
text - The text to display in the status line.

getGhostsSpriteGroup

@Deprecated
public com.golden.gamedev.object.SpriteGroup getGhostsSpriteGroup()
Deprecated. 


onObjectObjectCollision

@Deprecated
public void onObjectObjectCollision(MoaggGameObject object1,
                                               MoaggGameObject object2)
Deprecated. 

Specified by:
onObjectObjectCollision in interface InternalGameControl
Overrides:
onObjectObjectCollision in class AbstractGameControlImpl

onObjectPlaygroundCollision

@Deprecated
public void onObjectPlaygroundCollision(MoaggGameObject object)
Deprecated. 

Specified by:
onObjectPlaygroundCollision in interface InternalGameControl
Overrides:
onObjectPlaygroundCollision in class AbstractGameControlImpl

callScript

public void callScript(java.lang.String name,
                       java.lang.Object... args)
Specified by:
callScript in interface InternalGameControl
Overrides:
callScript in class AbstractGameControlImpl


Copyright © 2008. All Rights Reserved.