wyvern.lib.properties
Interface Readable

All Known Implementing Classes:
ApplyRead, Book, Scroll

public interface Readable

This interface is for objects that can be read, such as books, signs and scrolls.

Version:
1.0, Apr 28, 1998
Author:
Steve Yegge

Field Summary
static int DEFAULT_READ_DELAY
          This is the default amount of game time it takes to read something, in milliseconds.
 
Method Summary
 void read(Commandable agent)
          Tells the Readable to execute the read.
 

Field Detail

DEFAULT_READ_DELAY

public static final int DEFAULT_READ_DELAY
This is the default amount of game time it takes to read something, in milliseconds. The object can override this by setting an Integer "read_delay" property on itself.

See Also:
Constant Field Values
Method Detail

read

public void read(Commandable agent)
Tells the Readable to execute the read. The Readable can issue a message to the reader, or execute a spell, or anything it likes.