Mercurial > LightClone
view LightClone/Source/Loader.h @ 37:58a16d529d95
Refactoring code and adding events for drag and drop
author | koryspansel <koryspansel@bendbroadband.com> |
---|---|
date | Wed, 21 Sep 2011 20:30:29 -0700 |
parents | 7e3a0ae9c016 |
children | 6d4437a24aeb |
line wrap: on
line source
/* * Loader */ #ifndef __LOADER_H__ #define __LOADER_H__ #include "Core.h" /* * Loader */ class Loader { /* * kSize */ Size kSize; /* * pType */ uint32* pType; /* * pHeight */ uint32* pHeight; /* * kPosition */ Position kPosition; /* * kDirection */ Direction kDirection; public: /* * Loader */ Loader(); /* * ~Loader */ ~Loader(); /* * Load */ ErrorCode Load(const char* pName); /* * GetSize */ const Size& GetSize() const; /* * GetTowerType */ uint32 GetTowerType(uint32 nX, uint32 nY); /* * GetTowerHeight */ uint32 GetTowerHeight(uint32 nX, uint32 nY); /* * GetInitialPosition */ const Position& GetInitialPosition() const; /* * GetInitialDirection */ const Direction& GetInitialDirection() const; }; #endif //__LOADER_H__