Main Page   Class Hierarchy   Compound List   File List   Compound Members  

land Class Reference

A walkable portion with no storing capacity. More...

#include <land.h>

Inheritance diagram for land:

portion List of all members.

Public Methods

 land (double *coordinates, int index)
 ~land ()
void update (long int updateStamp)
 The code that makes the world evolve to its next iteration.

bool isColony ()
 Is this portion a colony ?

void displayPheromones (char)
 The OpenGL/Glut code that displays the pheromones located on the portion, if any. More...


Detailed Description

A walkable portion with no storing capacity.


Constructor & Destructor Documentation

land::land double *    coordinates,
int    index
 

Parameters:
coordinates  A 9-double array containing the x1,y1,z1, ..., xk,yk,zk coordinates of the 3 points describing the portion triangle
index  The portion (unique) index


Member Function Documentation

void land::displayPheromones char    [virtual]
 

The OpenGL/Glut code that displays the pheromones located on the portion, if any.

Parameters:
pheromoneType  Selects the pheromone type to display. 0 for none, 1 for departure, 2 for return.

Reimplemented from portion.


The documentation for this class was generated from the following files:
Generated on Mon Jun 14 09:29:38 2004 by doxygen1.2.15