Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

MapGen::Diamon Class Reference

#include <diamon.h>

Inheritance diagram for MapGen::Diamon:

MapGen::Generator List of all members.

Public Member Functions

 Diamon (uint order)
Maprender () const

Private Member Functions

float _all (const uint p) const
void _sub (Map *map, const uint x1, const uint y1, const uint x2, const uint y2) const

Private Attributes

uint _side

Detailed Description

Square and diamon generator

Definition at line 32 of file diamon.h.

Constructor & Destructor Documentation

MapGen::Diamon::Diamon uint  order  ) 

order is log2 of produced map side

Definition at line 29 of file diamon.cpp.

The documentation for this class was generated from the following files:
Generated on Sat Nov 11 10:21:11 2006 for OpenCity by  doxygen 1.4.2