Generic Event Manager for Game Engine

  • Tila: Pending
  • Palkinto: $30
  • Vastaanotetut työt: 2
  • Voittaja: orphanwolf

Kilpailun tehtävänanto

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).

Suositellut taidot

Kilpailun parhaat työt

Näytä lisää töitä

Julkinen selvennystaulu

  • atortelli
    atortelli
    • 4 vuotta sitten

    hello,
    see my PMB.

    • 4 vuotta sitten

Kuinka päästä alkuun kilpailuiden kanssa

  • Julkaise kilpailusi

    Julkaise kilpailusi Nopeaa ja helppoa

  • Vastaanota tonnikaupalla osallistumisia

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Palkitse paras hakemus

    Palkitse paras hakemus Lataa tiedostot - helppoa!

Ilmoita kilpailu nyt tai liity tänään!