Installing anax ECS system

Bla bla bla

#pragma once

#include <anax\anax.hpp>

#include "RenderSystem.hpp"
#include "PlayerInputSystem.hpp"

#include "Map.hpp"

class Core
{
public:

	Core();
	~Core();

	void update();
	void render();

	auto* getPlayer() { return &mPlayer; }
	auto getMap() { return map; }

private:

	anax::World mWorld;
	anax::Entity mPlayer;

	RenderSystem mRender;
	PlayerInputSystem mInput;

	Map* map;
};

extern Core core;

Bla bla bla bla bla…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s