CSCommon: MSurvivalMap.h 소스 파일

MAIET

MSurvivalMap.h

00001 #ifndef _MSURVIVAL_MAP_H
00002 #define _MSURVIVAL_MAP_H
00003 
00004 // 서바이벌 맵 종류
00005 enum MSURVIVAL_MAP
00006 {
00007     MSURVIVAL_MAP_HALL2 = 0,
00008     MSURVIVAL_MAP_ROOM3,
00009 
00010     MSURVIVAL_MAP_END
00011 };
00012 
00013 // 서바이벌 맵 정보
00014 struct MSurvivalMapInfo
00015 {
00016     MSURVIVAL_MAP       nID;
00017     char                szName[64];
00018 };
00019 
00020 
00021 class MSurvivalMapCatalogue
00022 {
00023 private:
00024     // 멤버 변수
00025     MSurvivalMapInfo        m_MapInfo[MSURVIVAL_MAP_END];
00026 
00027     // 함수
00028     void SetMap(MSURVIVAL_MAP nMap, const char* szMapName);
00029     void Clear();
00030 public:
00031     MSurvivalMapCatalogue();
00032     ~MSurvivalMapCatalogue();
00033     MSurvivalMapInfo* GetInfo(MSURVIVAL_MAP nMap);
00034 };
00035 
00036 
00037 
00038 #endif


MAIET entertainment