Serialized Form

Class AttacksFullException implements Serializable

Serialized Fields

a

Attack a
The offending Attack


Class Battle implements Serializable

Serialized Fields

p

Player p
The Player


opp

MapObject opp
The opponent


pl

ImageMap[] pl
The ImageMap of the Monsters of the Game


actp

int actp
Location im pl of Player/opponent Active Monster


actop

int actop
Location im pl of Player/opponent Active Monster


battleEndListeners

java.util.Vector battleEndListeners
The BattleEndListeners


gameOverListeners

java.util.Vector gameOverListeners
The GameOverListeners


a

Attack a
If AttackFullException is thrown need to have the Attack thrown to be abl to add it if the Player chooses to remove another Attack


items

java.lang.String[] items
Items of the Player


monsters

java.lang.String[] monsters
Monsters of the Player


attacks

java.lang.String[] attacks
Attacks of the Active Monster


shown

java.lang.String[] shown
What is shown now.


w

int w
Width, Height


h

int h
Width, Height


sel

int sel
Selected, start-offset, displayed


start

int start
Selected, start-offset, displayed


disp

int disp
Selected, start-offset, displayed


pturn

boolean pturn
Player turn over, end the battle, new Attack ready to add


end

boolean end
Player turn over, end the battle, new Attack ready to add


natt

boolean natt
Player turn over, end the battle, new Attack ready to add


Class BattleEndEvent implements Serializable

Serialized Fields

pl

Player pl
The Player


Class BattleEvent implements Serializable

Serialized Fields

opp

MapObject opp
The opponnent


pl

Player pl
The Player


Class Building implements Serializable


Class EarthMon implements Serializable

Serialized Fields

lastAttack

int lastAttack
The last attack learned (2 <= x <= 5)


Class ElectricMon implements Serializable

Serialized Fields

lastAttack

int lastAttack
The last attack learned (2 <= x <= 5)


Class EmptyLocationException implements Serializable


Class FireMon implements Serializable

Serialized Fields

lastAttack

int lastAttack
The last attack learned (2 <= x <= 5)


Class Floor implements Serializable


Class Game implements Serializable

Serialized Fields

grid

Grid grid

battle

Battle battle

shop

Shop shop

mp

MapLoader mp

sp

Splash sp

spp

java.awt.Panel spp

bn

java.awt.Button bn

bl

java.awt.Button bl

bname

java.awt.Button bname

ok

java.awt.Button ok

tname

java.awt.TextField tname

savedata

java.awt.TextArea savedata

num

boolean num

win

int win

mc

java.util.Vector mc

p

Person p

t

Trainer t

pl

Player pl

g

Grass g

r

Rock r

f

Floor f

b

Building b

w

Wall w

re

Redirect re

sh

java.awt.Image sh

splash

java.awt.Image splash

gover

java.awt.Image gover

gwin

java.awt.Image gwin

monsters

ImageMap[] monsters

graph

java.awt.Graphics graph


Class GameOverEvent implements Serializable


Class GasMon implements Serializable

Serialized Fields

lastAttack

int lastAttack
The last attack learned (2 <= x <= 5)


Class Grass implements Serializable


Class Grid implements Serializable

Serialized Fields

numi

int numi
The number of rows


numj

int numj
The number of columns


pi

int pi
The position of the player, the row/i


pj

int pj
The position of the player, the column/j


battleListeners

java.util.Vector battleListeners
The BattleListeners


redirectListeners

java.util.Vector redirectListeners
The RedirectEventListeners


mp

MapObject[][] mp
This


def

MapObject def
Default backdrop


monAllow

java.util.Vector monAllow
The Monsters allowed on this


monsterLevel

int monsterLevel
The Monster level for wild Monsters


battle

boolean battle
is there a battle


g

java.awt.Graphics g
Needed for calls to paintAll


Class InvalidFileFormatException implements Serializable


Class InvalidLocationException implements Serializable


Class InvalidPowerException implements Serializable


Class ItemChangeException implements Serializable

Serialized Fields

item

Item item
The Item to use


Class MapObject implements Serializable

Serialized Fields

enterable

boolean enterable
true iff can be entered, ie Grass, Floor


type

int type
The type of this


Class Monster implements Serializable

Serialized Fields

hp

int hp
The HP Of this


defp

int defp
The Defense Of this


attp

int attp
The Attack Of this


exp

int exp
The Experience Of this


maxHP

int maxHP
The Maximum HP Of this, ie full health


maxDef

int maxDef
The Maximum Defense Of this at this level


maxAtt

int maxAtt
The Maximum Attack Of this at this level


maxExp

int maxExp
The Maximum Experience before a level up


level

int level
The level of this


maxLevel

int maxLevel
The Maximum level before learning a new attack


kind

int kind
The kind of Monster this is


attacks

java.util.Vector attacks
The attacks this knows


name

java.lang.String name
The name of this


battle

boolean battle
tru iff battling


Class MonsterChangeException implements Serializable

Serialized Fields

originalMonster

int originalMonster

newMonster

int newMonster


Class NonEmptyException implements Serializable


Class People implements Serializable

Serialized Fields

MAXMON

int MAXMON
The Maximum number of Monsters to cary

See Also:
Constant Field Values

mon

java.util.Vector mon
The Monsters caught, and able to be used, ie in the Pepole's hand


hmon

java.util.Vector hmon
The Monsters caught, and not able to be used, ie in the Pepole's home collection


items

java.util.Vector items
The Items bought.


activeMon

int activeMon
The index of the active Monster


beaten

boolean beaten
True if has beed beaten by the Player


battling

boolean battling
True if in a battle, with Player or Person


money

int money
The amount of money carrying


dir

int dir
The direction facing as specified in Grid

See Also:
Grid

name

java.lang.String name
The name of this


dlg

java.lang.String dlg
The dialogue to present when in Battle

See Also:
Battle


Class Person implements Serializable

Serialized Fields

ai

PersonAI ai
The AI to control movement around the Grid

See Also:
PersonAI, Grid


Class Player implements Serializable

Serialized Fields

badges

java.util.Vector badges
The badges acquired


Class Redirect implements Serializable

Serialized Fields

numBadgesReq

int numBadgesReq
The Number of Badges required before can be used


mapTo

java.lang.String mapTo
filename of where to go


Class RedirectEvent implements Serializable

Serialized Fields

mapName

java.lang.String mapName
The filename


p

Player p
The Player


Class Rock implements Serializable


Class SaveEvent implements Serializable

Serialized Fields

pl

Player pl
The Player to pass along


Class Shop implements Serializable

Serialized Fields

p

Player p
The Player to work with


bg

java.awt.Image bg
The Image of the Shop


shopEndListeners

java.util.Vector shopEndListeners
The Listeners for ShopEndEvent


saveGameListeners

java.util.Vector saveGameListeners
The listeners for SaveEvent


shelf

int shelf
Many int needed to speciy drawing regions


sel

int sel
Many int needed to speciy drawing regions


sel2

int sel2
Many int needed to speciy drawing regions


xs

int xs
Many int needed to speciy drawing regions


ys

int ys
Many int needed to speciy drawing regions


ys2

int ys2
Many int needed to speciy drawing regions


op

int op
Many int needed to speciy drawing regions


start

int start
Many int needed to speciy drawing regions


start2

int start2
Many int needed to speciy drawing regions


disp

java.lang.String[] disp
What is displayed to Player


ops

java.lang.String[] ops
The Options for the Player


Class ShopEndEvent implements Serializable

Serialized Fields

pl

Player pl
The player that was in the shop


Class Trainer implements Serializable

Serialized Fields

badge

java.lang.String badge
The name of the badge


pi

int pi
Where I am on the Grid


pj

int pj
Where I am on the Grid


g

Grid g
The Grid I am on


t

java.lang.Thread t
My Thread Object


Class Wall implements Serializable


Class WaterMon implements Serializable

Serialized Fields

lastAttack

int lastAttack
The last attack learned (2 <= x <= 5)