[DEV] build again
This commit is contained in:
parent
a9355a5168
commit
9450ebc574
@ -305,11 +305,6 @@ ege::Environement::Environement() :
|
|||||||
propertyStatus.add(gameStop, "stop", "Scene is stopped");
|
propertyStatus.add(gameStop, "stop", "Scene is stopped");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ege::Environement::init(const std::string& _name) {
|
|
||||||
ewol::Object::init(_name);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
void ege::Environement::clear() {
|
void ege::Environement::clear() {
|
||||||
m_listElement.clear();
|
m_listElement.clear();
|
||||||
}
|
}
|
||||||
|
@ -99,7 +99,6 @@ namespace ege {
|
|||||||
std::vector<std::shared_ptr<ege::Element>> m_listElement; //!< List of all element added in the Game
|
std::vector<std::shared_ptr<ege::Element>> m_listElement; //!< List of all element added in the Game
|
||||||
protected:
|
protected:
|
||||||
Environement();
|
Environement();
|
||||||
void init(const std::string& _name="NoName");
|
|
||||||
public:
|
public:
|
||||||
DECLARE_FACTORY(Environement);
|
DECLARE_FACTORY(Environement);
|
||||||
virtual ~Environement() { };
|
virtual ~Environement() { };
|
||||||
|
@ -25,12 +25,12 @@ ege::widget::Mesh::Mesh():
|
|||||||
addObjectType("ege::widget::Mesh");
|
addObjectType("ege::widget::Mesh");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ege::widget::Mesh::init(const std::string& _filename) {
|
void ege::widget::Mesh::init() {
|
||||||
ewol::Widget::init(_filename);
|
ewol::Widget::init();
|
||||||
m_meshName = _filename;
|
m_meshName = *propertyName;
|
||||||
// Limit event at 1:
|
// Limit event at 1:
|
||||||
setMouseLimit(1);
|
setMouseLimit(1);
|
||||||
if (_filename!="") {
|
if (*propertyName!="") {
|
||||||
m_object = ege::resource::Mesh::create(m_meshName);
|
m_object = ege::resource::Mesh::create(m_meshName);
|
||||||
if (nullptr == m_object) {
|
if (nullptr == m_object) {
|
||||||
EGE_ERROR("Can not load the resource : \"" << m_meshName << "\"");
|
EGE_ERROR("Can not load the resource : \"" << m_meshName << "\"");
|
||||||
|
@ -30,7 +30,7 @@ namespace ege {
|
|||||||
float m_cameraDistance;
|
float m_cameraDistance;
|
||||||
protected:
|
protected:
|
||||||
Mesh();
|
Mesh();
|
||||||
void init(const std::string& _filename); // automatic considering in the appl Data older
|
void init(); // automatic considering in the appl Data older
|
||||||
public:
|
public:
|
||||||
virtual ~Mesh();
|
virtual ~Mesh();
|
||||||
public: // Derived function
|
public: // Derived function
|
||||||
|
@ -47,8 +47,7 @@ ege::widget::Scene::Scene() :
|
|||||||
addObjectType("ege::widget::Scene");
|
addObjectType("ege::widget::Scene");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ege::widget::Scene::init(std::shared_ptr<ege::Environement> _env) {
|
void ege::widget::Scene::init() {
|
||||||
m_env = _env;
|
|
||||||
ewol::Widget::init();
|
ewol::Widget::init();
|
||||||
setKeyboardRepeate(false);
|
setKeyboardRepeate(false);
|
||||||
propertyCanFocus.set(true);
|
propertyCanFocus.set(true);
|
||||||
|
@ -51,7 +51,11 @@ namespace ege {
|
|||||||
* @return (no execption generated (not managed in embended platform))
|
* @return (no execption generated (not managed in embended platform))
|
||||||
*/
|
*/
|
||||||
Scene();
|
Scene();
|
||||||
void init(std::shared_ptr<ege::Environement> _env);
|
void init();
|
||||||
|
public:
|
||||||
|
void setEnv(std::shared_ptr<ege::Environement> _env) {
|
||||||
|
m_env = _env;
|
||||||
|
}
|
||||||
public:
|
public:
|
||||||
DECLARE_FACTORY(Scene);
|
DECLARE_FACTORY(Scene);
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user