moagg.game
Class MultiPlayerClientGameObject
java.lang.Object
com.golden.gamedev.GameObject
moagg.game.MultiPlayerClientGameObject
public class MultiPlayerClientGameObject
- extends com.golden.gamedev.GameObject
Fields inherited from class com.golden.gamedev.GameObject |
bsGraphics, bsInput, bsIO, bsLoader, bsMusic, bsSound, bsTimer, fontManager, parent |
Methods inherited from class com.golden.gamedev.GameObject |
checkPosMouse, checkPosMouse, click, drawFPS, getCurrentFPS, getFPS, getHeight, getImage, getImage, getImages, getImages, getImages, getImages, getImages, getImages, getMouseX, getMouseY, getRandom, getWidth, hideCursor, keyDown, keyPressed, playMusic, playSound, rightClick, setFPS, setMaskColor, showCursor, start, takeScreenShot, takeScreenShot |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiPlayerClientGameObject
public MultiPlayerClientGameObject(com.golden.gamedev.GameEngine parent)
setBaseClient
public void setBaseClient(com.golden.gamedev.engine.BaseClient bsClient)
setLevel
public void setLevel(Level level)
getLevel
public Level getLevel()
setServer
public void setServer(MultiPlayerServerGameObject server)
setPlayer
public void setPlayer(Ship player)
getPlayer
public Ship getPlayer()
getPlayerByNetworkId
protected Ship getPlayerByNetworkId(short id)
getGameControl
public GameControl getGameControl()
getParticlesSpriteGroup
public com.golden.gamedev.object.SpriteGroup getParticlesSpriteGroup()
getProjectilesSpriteGroup
public com.golden.gamedev.object.SpriteGroup getProjectilesSpriteGroup()
getObjectsSpriteGroup
public com.golden.gamedev.object.SpriteGroup getObjectsSpriteGroup()
getPlayersSpriteGroup
public com.golden.gamedev.object.SpriteGroup getPlayersSpriteGroup()
getNetworkException
public java.io.IOException getNetworkException()
initResources
public void initResources()
- Specified by:
initResources
in class com.golden.gamedev.GameObject
createPlayer
protected Ship createPlayer()
initBackground
protected void initBackground()
initPanel
protected void initPanel()
render
public void render(java.awt.Graphics2D g)
- Specified by:
render
in class com.golden.gamedev.GameObject
renderPreview
public void renderPreview(java.awt.Graphics2D g)
update
public void update(long elapsedTime)
- Specified by:
update
in class com.golden.gamedev.GameObject
updateNetwork
protected void updateNetwork(long elapsedTime)
throws java.io.IOException
- Throws:
java.io.IOException
sendLoginPacket
protected void sendLoginPacket()
throws java.io.IOException
- Throws:
java.io.IOException
loadLevel
protected void loadLevel(java.lang.String mission,
java.lang.String level)
updateKeyboard
protected void updateKeyboard()
throws java.io.IOException
- Throws:
java.io.IOException
finish
public void finish()
- Overrides:
finish
in class com.golden.gamedev.GameObject
Copyright © 2008. All Rights Reserved.