GithubHelp home page GithubHelp logo

epcvisitor's Introduction

ECSVisitor

#

Descriptions


My first ECS test based on visitor pattern as a controller. The downsides is that visitor baseclass has so many methods, but you could still add more kinds of operations and visitorclass for different kinds of situations and than add some new attachVisitor for the new visitorbase class. With this constructions you could quickly and simple expand/scale up this structure, and letting things in the end (main.cpp) be very simplifyed. Remember this is one way to do it! there are several ways to perform an ECS.


#

Requirement


You need glm and boost installed.
Its needed for handling positions etc and generating the important ID for the entity.

#

Compiling


g++ main.cpp components.cpp componentvisitors.cpp entites.cpp entitysystems.cpp -o main

#

Systems


So far it has been tested on mac os x 10.10, and it should works on linux too.
But on the other hand it should works on other systems too, as long as you include glm and boost to the project.
I also use g++ for compiling here, but that doesn't stop you to using VisualStudio for Windows.

epcvisitor's People

Contributors

utopiafx avatar

Watchers

James Cloos avatar Pavel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.