00001 #ifndef DEF_MAP_HXX_ 00002 # define DEF_MAP_HXX_ 00003 00004 # include <cassert> 00005 00006 namespace objects 00007 { 00008 inline int HuntCourse::get_level_required() const 00009 { 00010 return _level_required; 00011 } 00012 00013 inline int HuntCourse::get_experience_worth() const 00014 { 00015 return _experience_worth; 00016 } 00017 00018 inline int HuntCourse::get_money_worth() const 00019 { 00020 return _money_worth; 00021 } 00022 00023 inline const std::string &HuntCourse::get_course_name() const 00024 { 00025 return _course_name; 00026 } 00027 00028 inline int WarpPoint::get_id() const 00029 { 00030 return _id; 00031 } 00032 00033 inline const MapNode &WarpPoint::get_warp_node() const 00034 { 00035 return _warp_node; 00036 } 00037 00038 inline const DefMap &WarpPoint::get_destination_map() const 00039 { 00040 return _destination_map; 00041 } 00042 00043 inline int WarpPoint::get_cost() const 00044 { 00045 return _cost; 00046 } 00047 00048 inline const MapNode *DefMap::get_repair_node() const 00049 { 00050 return _repair_node; 00051 } 00052 00053 inline const MapNode *DefMap::get_supply_node() const 00054 { 00055 return _supply_node; 00056 } 00057 00058 inline const MapNode *DefMap::get_warehouse_node() const 00059 { 00060 return _warehouse_node; 00061 } 00062 00063 inline const MapNode *DefMap::get_gate_node() const 00064 { 00065 return _gate_node; 00066 } 00067 00068 inline const DefMap::HuntCourses &DefMap::get_hunt_courses() const 00069 { 00070 return _hunt_courses; 00071 } 00072 00073 inline bool DefMap::is_home() const 00074 { 00075 return _home; 00076 } 00077 00078 inline const DefMap::WarpPoints &DefMap::get_warp_points() const 00079 { 00080 return _warp_points; 00081 } 00082 } 00083 00084 #endif