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