topical media & game development
lib-game-delta3d-sdk-examples-testStateManager-MyEventTypes.cpp / cpp
include <MyEventTypes.h>
// Event stuff
IMPLEMENT_ENUM(MyEventType);
MyEventType::MyEventType(const std::string& name) : dtABC::Event::Type(name) { AddInstance(this); }
MyEventType::~MyEventType() {}
const MyEventType MyEventType::ALT("ALT");
const MyEventType MyEventType::START("START");
Alt::Alt() : dtABC::Event(&MyEventType::ALT) {}
Start::Start() : dtABC::Event(&MyEventType::START) {}
(C) Æliens
04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.