All Packages Class Hierarchy This Package Previous Next Index
Class sso.Wall
java.lang.Object
|
+----sso.Persistant
|
+----sso.GameObject
|
+----sso.Immobile
|
+----sso.Scenery
|
+----sso.Wall
- public class Wall
- extends Scenery
- implements Attackable
-
base_rating
-
-
cur_rating
-
-
height
-
-
Wall()
- Protected constructor.
-
attack(Attack)
- Attack the wall
-
createRows()
- Create the rows needed to store this item.
-
createWall()
- Factory method.
-
getBaseRating()
- Get the base rating
-
getHeight()
- Get the height
-
getRating()
- Get the current rating
-
handleActionEvent(ActionEvent)
- Walls consume all events.
-
init()
- Wall initializer.
-
load()
- Load the data into a wall object from the db.
-
loadWall(int)
- Load a new Wall object
-
main(String[])
- Tester
-
setBaseRating(int)
- Set the base rating
-
setHeight(int)
- Set the height
-
setRating(int)
- Set the current rating
-
store()
- Store the state of the Wall object.
-
unregister()
- Unregister a wall.
base_rating
protected int base_rating
cur_rating
protected int cur_rating
height
protected int height
Wall
protected Wall()
- Protected constructor. Use a factory method instead.
createWall
public static Wall createWall()
- Factory method. Create a new wall.
init
protected void init()
- Wall initializer.
- Overrides:
- init in class Scenery
getRating
public int getRating()
- Get the current rating
setRating
protected void setRating(int rating)
- Set the current rating
getBaseRating
public int getBaseRating()
- Get the base rating
setBaseRating
public void setBaseRating(int rating)
- Set the base rating
getHeight
public int getHeight()
- Get the height
setHeight
public void setHeight(int height)
- Set the height
attack
public void attack(Attack attack)
- Attack the wall
createRows
protected void createRows()
- Create the rows needed to store this item.
- Overrides:
- createRows in class Scenery
store
public void store()
- Store the state of the Wall object.
- Overrides:
- store in class Scenery
loadWall
public static Wall loadWall(int id)
- Load a new Wall object
load
protected void load()
- Load the data into a wall object from the db.
- Overrides:
- load in class Scenery
unregister
public void unregister()
- Unregister a wall.
- Overrides:
- unregister in class Scenery
handleActionEvent
public void handleActionEvent(ActionEvent evt)
- Walls consume all events.
- Overrides:
- handleActionEvent in class GameObject
main
public static void main(String args[])
- Tester
All Packages Class Hierarchy This Package Previous Next Index