moagg.game.control
Class MultiPlayerServerGameControlImpl

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

public class MultiPlayerServerGameControlImpl
extends AbstractGameControlImpl


Field Summary
 
Fields inherited from class moagg.game.control.AbstractGameControlImpl
collisionHandler, level, log, platformCollisionTimers
 
Constructor Summary
MultiPlayerServerGameControlImpl(MultiPlayerServerGameObject levelGame)
           
 
Method Summary
 void addObjective(Objective objective)
          Deprecated. 
 void addParticle(Particle particle)
          Deprecated. 
 void addProjectile(ShootableObject shootable)
           
 MultiPlayerClientData getClientData(int id)
           
 com.golden.gamedev.object.SpriteGroup getGhostsSpriteGroup()
          Deprecated. 
 Ship getPlayer()
          Deprecated. 
 com.golden.gamedev.object.SpriteGroup getPlayersSpriteGroup()
           
 com.golden.gamedev.object.SpriteGroup getProjectilesSpriteGroup()
           
 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, callScript, cleanup, finish, getFrictionFor, getGravityFor, getLevel, getObjectById, getObjects, getPlatformCollisionTimer, getPlatforms, getStreamSpeedFor, initScripting, isBackgroundBetween, isFinished, isPlatformCollisionActive, onObjectObjectCollision, onObjectPlaygroundCollision, resetPlatformCollisionTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPlayerServerGameControlImpl

public MultiPlayerServerGameControlImpl(MultiPlayerServerGameObject levelGame)
Method Detail

update

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

getClientData

public MultiPlayerClientData getClientData(int id)

getPlayersSpriteGroup

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

getProjectilesSpriteGroup

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

addProjectile

public void addProjectile(ShootableObject shootable)

addObjective

@Deprecated
public void addObjective(Objective objective)
Deprecated. 

Parameters:
objective - The objective to add.

addParticle

@Deprecated
public void addParticle(Particle particle)
Deprecated. 


getPlayer

@Deprecated
public Ship getPlayer()
Deprecated. 

Returns:
The player's ship.

setStatusText

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

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

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.

getGhostsSpriteGroup

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



Copyright © 2008. All Rights Reserved.