~james-gangur/sqee/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "../Cell.hpp"
#include "../World.hpp"
#include "MetaObject.hpp"

using namespace sqt::wcoe;

MetaObject::MetaObject(const string& _name, Cell* _cell) : Object(_name, _cell) {}

void MetaObject::load_from_spec(const ObjSpec& _spec) {}

void MetaObject::refresh() {
    if (revalidate() == true) {}

    animate();
}

void MetaObject::update() {
    bool doFinish = false;
    if (doFinish == true) animate();
}

void MetaObject::calc(double _accum) {
    bool doAnim = false;
    if (doAnim == true) animate();
}

void MetaObject::animate() {}