summaryrefslogtreecommitdiffstats
path: root/engine/include/flatactor.h
blob: 8e2d3d3cdf5e52c2582a0ff5c0cf327b569d30c6 (plain)
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
28
29
#ifndef __FLATACTOR_H__
#define __FLATACTOR_H__

#include "flatcollector.h"
#include "flatevolvable.h"

class FlatBound;

class FlatActor : public FlatCollector, public FlatEvolvable
{
    // TODO, event binding
    // TODO, serial binding
    
    /* Bounds */
    FlatBound * bounds;

public:

    FlatActor(FlatCollector *parent = 0, FlatBound *bounds = 0);

    ~FlatActor();

    virtual void evolve(float dt) override;

    void setBounds(FlatBound * bounds);
    FlatBound * getBounds() const;
};

#endif