Skip to content
Snippets Groups Projects
main.cpp 376 B
Newer Older
/*
 * main.cpp
 *
 *  Created on: 21 Nov 2019
 *      Author: webpigeon
 */

#include "lib/state.h"
#include <iostream>

using namespace std;

void test(const entity& test){
	cout << test.get_property("test") << endl;
}

int main(int argc, char **argv){

	entity_type type;
	state state;

	for (int i=0; i<10; i++){
		entity e(&type);
		state.add_entity(e);
	}