Generic Event Manager for Game Engine

  • Status: Pending
  • Præmie: $30
  • Modtagne indlæg: 2
  • Vinder: orphanwolf

Konkurrencebeskrivelse

I need an event manager for a game engine. This manager can be implement with observer pattern or you can find another elegant way to write it.
Events are not limited with just one word like "actionX", otherwise it will be very easy to implement with strings or const action numbers. This events can have parameters, like "moveRight,10" so it is possible to parse this to get "moveRight" action and "10" as the value. But parsing a string is a performance issue and string parser also need to know parameter count so that kind of solution is not preferred. Events can have their own function like "void moveRight(unsigned int value)", but this is not a generic solution and need to write for every action, also this is not preferred.

I am looking for an intelligent, "high performance" , if possible industry standard generic event manager suitable for a game engine. You can use well known libraries like boost etc. Of course the class you will write have to be platform independent. If possible give the Visual Studio project to easily test(I prefer 2010).

Anbefalede færdigheder

Bedste indlæg fra denne konkurrence

Se flere indlæg

Offentlig præciseringstavle

  • atortelli
    atortelli
    • 4 år siden

    hello,
    see my PMB.

    • 4 år siden

Sådan kommer du i gang med konkurrencer

  • Opret din konkurrence

    Opret din konkurrence Hurtigt og nemt

  • Få tonsvis af indlæg

    Få tonsvis af indlæg Fra hele verden

  • Vælg det bedste indlæg

    Vælg det bedste indlæg Download filerne - Nemt!

Opret en konkurrence nu eller slut dig til os i dag!