moagg.prefs.ghost
Class Ghost
java.lang.Object
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ghost
public Ghost()
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.