My Project
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes
Space.GameSpace Class Reference

List of all members.

Public Member Functions

def __init__
def introduction
def catchingUp

Public Attributes

 xmin
 Lowest x coordinate in GameSpace.
 xmax
 Highest x coordinate in GameSpace.
 ymin
 Lowest y coordinate in GameSpace.
 ymax
 Highest y coordinate in GameSpace.
 zmin
 Lowest z coordinate in GameSpace.
 zmax
 Highest z coordinate in GameSpace.
 origin
 3D origin of GameSpace
 grid
 An object of Class Grid.

Detailed Description

Class that defines the game's 3d coordinate system

Constructor & Destructor Documentation

def Space.GameSpace.__init__ (   self,
  xmin,
  xmax,
  ymin,
  ymax,
  zmin,
  zmax,
  origin = (0, 0,
  cellsize = 0.0 
)
GameSpace.__init__(xmin,
 xmax,
 ymin,
 ymax,
 zmin,
 zmax,
 origin,
 cellsize = 0.0
)
Initialization Function for a GameSpace Object

xmin is the lowest x coordinate
xmax is the highest x coordinate

ymin is the lowest y coordinate
ymax is the highest y coordinate

zmin is the lowest z coordinate
zmax is the highest z coordinate

origin is a tuple (x,y,z) that sets the systems origin

cellsize is the size of a cell in a grid to be superimposed over the floor.
a zero size indicates there will be no grid

Member Function Documentation

Generates a JSON friendly dictionary with
all the object's attributes and values.
This function is intended as a update on the object's state,
sent to receivers that are already able to identify the object.
Generates a JSON friendly dictionary with
all the object's attributes and values.
This function is intended as a first introduction of the object,
to receivers that are unaware of its existence.

Member Data Documentation

An object of Class Grid.

If not None, it divides the GameSpace's ground plane in Cell's


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables