mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-29 04:23:34 +00:00
29 lines
674 B
C++
Executable File
29 lines
674 B
C++
Executable File
#pragma once
|
|
#ifndef MAP_H
|
|
#define MAP_H
|
|
|
|
#include<irrlicht.h>
|
|
#include"GameManager.h"
|
|
|
|
namespace game{
|
|
namespace content{
|
|
class Map {
|
|
public:
|
|
Map(core::GameManager*);
|
|
~Map();
|
|
void update();
|
|
void load();
|
|
void unload();
|
|
inline irr::core::vector2d<s32> getSize(){return size;}
|
|
private:
|
|
core::GameManager *gameManager;
|
|
irr::core::vector2d<s32> size;
|
|
irr::scene::ILightSceneNode *sunLight;
|
|
irr::scene::IAnimatedMesh *waterMesh;
|
|
irr::scene::ISceneNode *waterNode;
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif
|