/[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.9 by banana, Sun Apr 9 07:17:22 2006 UTC revision 1.11 by banana, Sun Apr 16 11:19:55 2006 UTC
# Line 7  Line 7 
7  #include "Entity.h"  #include "Entity.h"
8    
9  //This is a hack :/  //This is a hack :/
10  #define kMaxTerrainID 2  #define kMaxTerrainID 3
11    
12  //Class definition  //Class definition
13  class Terrain : public Entity {  class Terrain : public Entity {
# Line 24  public: Line 24  public:
24                  opaque = o;                  opaque = o;
25          }          }
26                    
27          bool traversable() {          bool traversable();
28                  return !opaque;          bool transparent();
29          }          bool memorable();
30  };  };

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.11

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26