home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming an RTS Game with Direct3D
/
Programming an RTS Game with Direct3D.iso
/
Examples
/
Chapter 5
/
Example 5.6
/
city.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2006-06-28
|
382 b
|
27 lines
#ifndef city_h
#define city_h
#include <vector>
#include "intpoint.h"
#include "object.h"
#include "camera.h"
#define TILE_SIZE 13.99f
class CITY
{
friend class APPLICATION;
public:
CITY();
void Init(INTPOINT _size);
void Render(CAMERA *cam);
D3DXVECTOR3 GetCenter();
private:
std::vector<OBJECT> m_objects;
INTPOINT m_size;
};
#endif