mkRPG
Data Structures | Defines
src/editor/Game/map.h File Reference

Definition of the Map, Cell and CellType classes. More...

#include "object.h"
#include <QMutex>
#include <QMutexLocker>

Go to the source code of this file.

Data Structures

class  CellType
 The CellType class defines the properties that are mandatory in any CellType object. More...
class  Cell
 The Cell class. More...
class  MapType
 The MapType class defines the properties that are mandatory in any MapType object. More...
class  Map
 The Map class. More...

Defines

#define forCells(i)   int nbCell = width()*height(); for(int i(0); i<nbCell; ++i)

Detailed Description

Definition of the Map, Cell and CellType classes.


Define Documentation

#define forCells (   i)    int nbCell = width()*height(); for(int i(0); i<nbCell; ++i)

Usefull macro to set up a for on the cells

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines