/[anoncvs]/projects/roguelike/Terrain.h


UCC Code Repository

Diff of /projects/roguelike/Terrain.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by banana, Tue Apr 4 10:51:36 2006 UTC revision 1.2 by banana, Wed Apr 5 03:43:59 2006 UTC
# Line 7  Line 7 
7   */   */
8    
9  #include "Entity.h"  #include "Entity.h"
10    #define kMaxTerrainID 1
11    
12  class Terrain : public Entity {  class Terrain : public Entity {
13  public:  public:
14            //Terrain cache, loaded at program initialisation
15            static Terrain cache[2];
16            
17            //Constructor that copies a terrain out of the cache
18          Terrain(int id);          Terrain(int id);
19            
20            //Inline inherited basic-value constructor
21            Terrain(std::wstring n, unichar s) : Entity(n, s) {
22            }
23  };  };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26