moagg.prefs.ghost
Class Ghost

java.lang.Object
  extended by moagg.prefs.ghost.Ghost
All Implemented Interfaces:
java.io.Serializable

public class Ghost
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Ghost()
           
 
Method Summary
 void add(GhostFrame shipState)
           
protected  void ensurePath(java.lang.String path)
           
 int getFrameDelay()
           
protected static java.io.File getGhostFile(LevelKey levelKey, java.lang.String name)
           
protected static java.lang.String getGhostPath(LevelKey levelKey)
           
 int getShipType()
           
 java.util.Iterator<GhostFrame> iterator()
           
static Ghost load(LevelKey levelKey, java.lang.String name)
           
 void save(LevelKey levelKey, java.lang.String name)
           
 void setFrameDelay(int frameDelay)
           
 void setShipType(int shipType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ghost

public Ghost()
Method Detail

setFrameDelay

public void setFrameDelay(int frameDelay)

getFrameDelay

public int getFrameDelay()

setShipType

public void setShipType(int shipType)

getShipType

public int getShipType()

add

public void add(GhostFrame shipState)

iterator

public java.util.Iterator<GhostFrame> iterator()

load

public static Ghost load(LevelKey levelKey,
                         java.lang.String name)

save

public void save(LevelKey levelKey,
                 java.lang.String name)

ensurePath

protected void ensurePath(java.lang.String path)

getGhostPath

protected static java.lang.String getGhostPath(LevelKey levelKey)

getGhostFile

protected static java.io.File getGhostFile(LevelKey levelKey,
                                           java.lang.String name)


Copyright © 2008. All Rights Reserved.