topical media & game development
lib-game-delta3d-sdk-examples-testGameActorComponents-componentgameactor.h / h
#pragma once
include <dtActors/gamemeshactor.h>
class ComponentGameActor : public dtActors::GameMeshActor
{
public:
ComponentGameActor(dtGame::GameActorProxy &proxy);
virtual void Interaction();
// only for testing
void SetSomeProperty(int p) {}
int GetSomeProperty() const { return 0;}
};
class ComponentGameActorProxy : public dtActors::GameMeshActorProxy
{
public:
Builds the actor properties
virtual void BuildPropertyMap();
Instantiates the actor
virtual void CreateActor();
};
(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.