moagg.game.level.applet
Class AbstractApplet

java.lang.Object
  extended by moagg.game.level.applet.AbstractApplet
All Implemented Interfaces:
Applet
Direct Known Subclasses:
ArmorApplet, FPSApplet, FuelApplet, HeapApplet, MultiPlayerFragsApplet, MultiPlayerLimitApplet, ScoreApplet, SpeedApplet

public abstract class AbstractApplet
extends java.lang.Object
implements Applet


Constructor Summary
protected AbstractApplet()
           
protected AbstractApplet(int w)
           
 
Method Summary
 Rectangle getPosition()
           
 void render(java.awt.Graphics2D g)
           
protected abstract  void renderContent(java.awt.Graphics2D g)
           
 void setPosition(int x, int y)
           
protected  void setWidth(int w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface moagg.game.level.applet.Applet
update
 

Constructor Detail

AbstractApplet

protected AbstractApplet()

AbstractApplet

protected AbstractApplet(int w)
Method Detail

setWidth

protected void setWidth(int w)

getPosition

public Rectangle getPosition()
Specified by:
getPosition in interface Applet

setPosition

public void setPosition(int x,
                        int y)
Specified by:
setPosition in interface Applet

render

public void render(java.awt.Graphics2D g)
Specified by:
render in interface Applet

renderContent

protected abstract void renderContent(java.awt.Graphics2D g)


Copyright © 2008. All Rights Reserved.