summaryrefslogtreecommitdiff
path: root/project2/common/sourceObject.cpp
blob: f0423cb11c41e3ac7ee4f1167eb7011bb5282de2 (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
#include <pch.hpp>
#include "sourceObject.h"

unsigned int SourceObject::loadOrder = 1;

SourceObject::SourceObject(const xmlpp::Element * p) :
	name(p ? p->get_attribute_value("name") : "anon"),
	order(loadOrder++)
{
}

SourceObject::SourceObject(const std::string & n) :
	name(n),
	order(loadOrder++)
{
}

SourceObject::~SourceObject()
{
}

void
SourceObject::loadComplete(const CommonObjects *)
{
}