Unit rlmap

Uses
Functions and Procedures
Constants
Variables

Description

A unit reponsible for handling the map the player is on and many other things around it.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TField  
Class TRoom  
Class TMap  

Types

TDirection = (...);
TRoomConnections = array[TDirection] of integer;
TFields = array[0..2, 0..2] of TField;
TRoomList = specialize TFPGList<Troom>;

Description

Types

TDirection = (...);

The direction a player can move in.

Values
  • NORTH: walk in direction north
  • EAST: walk in direction east
  • SOUTH: walk in direction south
  • WEST: walk in direction west
TRoomConnections = array[TDirection] of integer;

Array representing the directions in which the player can leave a room. Each field contains an id which room the player then should enter. If there is no room on the connection, it stores -1.

TFields = array[0..2, 0..2] of TField;

2D-array representing the fields in a room.

TRoomList = specialize TFPGList<Troom>;

List of rooms, basically the map.


Generated by PasDoc 0.16.0.