summaryrefslogtreecommitdiffstats
path: root/engine/actor.cpp
blob: 8eb27da0bdfefd6f01d077b2e03c4af14cc40fb8 (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
#include "actor.hpp"

#include "flatland.hpp"

using namespace flat;

FlatActor::FlatActor(FlatCollector *parent, FlatBound *bounds)

    : FlatCollector(parent), bounds(bounds)
{
}

FlatActor::~FlatActor()
{
    
}

void FlatActor::setBounds(FlatBound * bounds)
{
    this->bounds = bounds;
}

FlatBound * FlatActor::getBounds() const
{
    return bounds;
}