Serialized Form


Package mdh.hephaestus2

Class mdh.hephaestus2.Adventure implements Serializable

Class mdh.hephaestus2.Block implements Serializable

Class mdh.hephaestus2.Creature implements Serializable

Serialized Fields

brain_

String brain_

thinkCallback_

String thinkCallback_

step_

int step_
Used by programmed brains.


faction_

int faction_
Which faction the creature belongs to - 0 is the Player's faction, 1+ are hostile.

Class mdh.hephaestus2.Editor implements Serializable

Serialized Fields

status_

Panel status_

mapDesc_

TextField mapDesc_

whereami_

TextField whereami_

rightclick_

Choice rightclick_

tername_

IconList tername_

view_

SpriteScreen view_

itemList_

IconList itemList_

xTop_

int xTop_
Top-left coord visible on view_


yTop_

int yTop_
Top-left coord visible on view_


xSelected_

int xSelected_
Selected coord


ySelected_

int ySelected_
Selected coord


clipboard_

Object clipboard_

model_

EditorModel model_

Class mdh.hephaestus2.Entity implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

exp_

int exp_

magic_

HashMap magic_
(String)name := (String)magicCallback


attackCallback_

String attackCallback_
Called after you make a successful attack, even if it did no damage.


turnCallback_

String turnCallback_

attackName_

String attackName_

defeatCallback_

String defeatCallback_

Class mdh.hephaestus2.Game implements Serializable

Serialized Fields

debug_

boolean debug_

thread_

Thread thread_

commandQueue_

StringBuffer commandQueue_

running_

boolean running_

lastDrawTime_

long lastDrawTime_

output_

Terminal output_

stats_

Terminal stats_

errorIcon_

Icon errorIcon_

updateStats_

boolean updateStats_

world_

World world_

Class mdh.hephaestus2.Grid implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Serialized Fields

terrain_

int terrain_
ID of the terrain type.


contents_

IntStack contents_
:= (int)thingid

Class mdh.hephaestus2.HephaestusException implements Serializable

Serialized Fields

thrownFrom_

Throwable thrownFrom_

Class mdh.hephaestus2.Item implements Serializable

Serialized Fields

equip_

int equip_

takeCallback_

String takeCallback_

dropCallback_

String dropCallback_

equipCallback_

String equipCallback_

removeCallback_

String removeCallback_

Class mdh.hephaestus2.Map implements Serializable

Serialized Fields

xsize_

int xsize_

ysize_

int ysize_

grid_

Grid[] grid_
Indexed with [x+y*xsize_]


borderCallback_

String borderCallback_

Class mdh.hephaestus2.Player implements Serializable

Serialized Fields

level_

int level_

items_

IntStack items_
:= (int)itemid


equip_

int[] equip_
Global.EQ_* := (int)equipid

Class mdh.hephaestus2.Props implements Serializable

Serialized Fields

data_

HashMap data_

Class mdh.hephaestus2.Statted implements Serializable

Serialized Fields

stat_

short[] stat_

statMax_

short[] statMax_

gold_

int gold_

Class mdh.hephaestus2.Stuff implements Serializable

Serialized Fields

id_

int id_

name_

String name_

triggerCallback_

String triggerCallback_

blocking_

boolean blocking_

Class mdh.hephaestus2.Terrain implements Serializable

Serialized Fields

tile_

Tile[] tile_

opacity_

int opacity_

Class mdh.hephaestus2.Thing implements Serializable

Serialized Fields

loc_

Location loc_

pose_

int pose_

tile_

Tile[] tile_

opacity_

int opacity_

props_

Props props_

Class mdh.hephaestus2.Tile implements Serializable

Serialized Fields

basefile_

String basefile_

frame_

int frame_

nframes_

int nframes_

nfacings_

int nfacings_


Package mdh.hephaestus2.gamelib

Class mdh.hephaestus2.gamelib.Application implements Serializable

Serialized Fields

audioCache_

HashMap audioCache_

imageCache_

HashMap imageCache_

tracker_

MediaTracker tracker_

trackerid_

int trackerid_

actionListener_

ActionListener actionListener_

menubar_

MenuBar menubar_
which menubar are menu commands adding to?


menu_

Menu menu_
which menu are menu item commands adding to?


isHelpMenu_

boolean isHelpMenu_
Is this menu a "help" menu?


verifyQuit_

boolean verifyQuit_

status_

TextField status_

keys_

HashMap keys_

Class mdh.hephaestus2.gamelib.BorderPanel implements Serializable

Serialized Fields

color0_

Color color0_

color1_

Color color1_

color2_

Color color2_

width_

int width_

Class mdh.hephaestus2.gamelib.DoublePanel implements Serializable

Serialized Fields

buffer_

BufferedImage buffer_

fixedSize_

Dimension fixedSize_
Stores the fixed size.

Class mdh.hephaestus2.gamelib.FileBrowser implements Serializable

Serialized Fields

frame_

Frame frame_

dirChoice_

Choice dirChoice_

center_

Panel center_

buttonbar_

Panel buttonbar_

extField_

MultiLabel extField_

list_

IconList list_

fileField_

TextField fileField_

xPos_

int xPos_

yPos_

int yPos_

type_

int type_

cwd_

File cwd_

file_

File file_

exts_

String[] exts_

showHidden_

boolean showHidden_

filesFirst_

boolean filesFirst_

firstFocus_

boolean firstFocus_

Class mdh.hephaestus2.gamelib.IconList implements Serializable

Serialized Fields

maxWidth_

int maxWidth_

maxHeight_

int maxHeight_

iconWidth_

int iconWidth_
size of each cell


cellWidth_

int cellWidth_
size of each cell


cellHeight_

int cellHeight_
size of each cell


cellsVisible_

int cellsVisible_
Number of cells visible vertically


topCell_

int topCell_
Topmost cell visible in the list


text_

ArrayList text_
:= (String)text


hotkey_

ArrayList hotkey_
:= (Integer)KeyEvent.VK_*


icon_

ArrayList icon_
:= (Image)icon


scrollbar_

Scrollbar scrollbar_

atomic_

boolean atomic_
No repaints are called while 'atomic'.


selected_

int selected_
The cell number of the selected item.


actionListeners_

ArrayList actionListeners_

itemListeners_

ArrayList itemListeners_

scaleIcons_

int scaleIcons_
Maximum size of icons - if this is more than 0, they are halved repeatedly until they fit.

Class mdh.hephaestus2.gamelib.ImageButton implements Serializable

Serialized Fields

down_

boolean down_

image_

Image image_

actionCommand_

String actionCommand_

listener_

ActionListener listener_

Class mdh.hephaestus2.gamelib.ImagePanel implements Serializable

Serialized Fields

image_

Image image_

align_

int align_

Class mdh.hephaestus2.gamelib.MetaDialog implements Serializable

Serialized Fields

frame_

Frame frame_

position_

int position_

relcomp_

Component relcomp_

xrel_

int xrel_

yrel_

int yrel_

gridy_

int gridy_

center_

Panel center_

buttonbar_

Panel buttonbar_

prompts_

Hashtable prompts_

button_

int button_

defaultButton_

int defaultButton_

cancelButton_

int cancelButton_

firstFocus_

boolean firstFocus_

firstPrompt_

Component firstPrompt_

Class mdh.hephaestus2.gamelib.MultiLabel implements Serializable

Serialized Fields

text_

String text_

size_

Dimension size_

Class mdh.hephaestus2.gamelib.Screen implements Serializable

Serialized Fields

thread_

Thread thread_

tickTime_

long tickTime_

paused_

int paused_

Class mdh.hephaestus2.gamelib.SpriteScreen implements Serializable

Serialized Fields

background_

Image background_

align_

int align_

groups_

ArrayList groups_

Class mdh.hephaestus2.gamelib.Terminal implements Serializable

Serialized Fields

lines_

ArrayList lines_
:= (TerminalLine)


iconWidth_

int iconWidth_

columns_

int columns_
Number of columns of text.


visibleLines_

int visibleLines_
Number of visible lines of text.


topLine_

int topLine_
Topmost visible line of text


fontAscent_

int fontAscent_

fontHeight_

int fontHeight_

fontWidth_

int fontWidth_

scrollbar_

Scrollbar scrollbar_

mx0_

int mx0_
Coords of a mouse drag


my0_

int my0_
Coords of a mouse drag


mx1_

int mx1_
Coords of a mouse drag


my1_

int my1_
Coords of a mouse drag


mouseRect_

Rectangle mouseRect_

atomic_

int atomic_
If non-zero, do not repaint after an action.


Package mdh.hephaestus2.containers

Class mdh.hephaestus2.containers.IntHash implements Serializable

Serialized Fields

bucket_

KeyValue[] bucket_

Class mdh.hephaestus2.containers.IntStack implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException

Class mdh.hephaestus2.containers.KeyValue implements Serializable

Serialized Fields

key

int key

value

Object value

next

KeyValue next

Class mdh.hephaestus2.containers.SparseArray implements Serializable

Serialized Fields

capacity_

int capacity_
Current amount of space reserved in the bucket


size_

int size_
Current number of entries stored in the SparseArray


loadFactor_

float loadFactor_
The ratio of data to capacity - defaults to DEFAULT_LOADFACTOR.


resize_

int resize_
must be identical to capacity_ * loadFactor_