Analytical Perspectives in Game Design
Input and output classes
Home ] Up ] [ Input and output classes ] general events ]


 

This is a set of classes to make life easier for input and output of data file independently of storage location.

**This has been changed to use readers and writers...

The data stream maker is a singleton class that makes input and output streams. When you want to input or output a file, pass the location to the Data Stream Maker with your ID. It will supply an appropriate stream for reading or writing that type of file.

The data input stream will read from either a file input stream or a URL (HTTP only) depending on the description of the file's location. The descriptions supported are: http:// and file:///.

The data output stream only supports file output at this stage.

22/11/99

 


See also: [Role Playing Games] [Game Engine]
© 1998, 1999 Brian Yap. These pages are available under the GNU licence.