/[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.5 by banana, Thu Apr 6 03:07:59 2006 UTC revision 1.6 by banana, Thu Apr 6 15:03:46 2006 UTC
# Line 19  public: Line 19  public:
19          Terrain(int id);          Terrain(int id);
20                    
21          //Inline inherited basic-value constructor          //Inline inherited basic-value constructor
22          Terrain(std::wstring n, wchar_t s) : Entity(n, s) {          Terrain(std::wstring n, wchar_t s, bool o) : Entity(n, s) {
23                  opaque = false;                  opaque = o;
24            }
25            
26            bool traversable() {
27                    return !opaque;
28          }          }
29  };  };

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26