duncan
Mom and Dad were wrong!
/home/malcolm/tmp/duncan/prototype/0/server/pathworld.h
00001 #ifndef SERVER_PATHWORLD_H_
00002 #define SERVER_PATHWORLD_H_
00003 
00004 #include <iostream>
00005 #include "character.h"
00006 
00007 namespace server {
00008 
00016 class PathWorld {
00017         public:
00018                 virtual ~PathWorld() {}
00023                 virtual size_t width() const {std::cout << "pw width\n"; return 0;}
00028                 virtual size_t height() const {std::cout << "pw height\n"; return 0;}
00036                 virtual bool is_vacant(double r, double c, Character* ignore) const {std::cout << "pw vacant\n"; return true;}
00037 };
00038 
00039 } // namespace
00040 
00041 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerations