34 |
virtual void realize(Usata&, const Object_sp& ); |
virtual void realize(Usata&, const Object_sp& ); |
35 |
Something(); |
Something(); |
36 |
virtual ResourceList |
virtual ResourceList |
37 |
construct(const ObjectProperties&){return ResourceList();} |
construct(ObjectProperties&){return ResourceList();} |
38 |
virtual void update(void); |
virtual void update(void); |
39 |
virtual void draw (void); |
virtual void draw (void); |
40 |
virtual ~Something(){}; |
virtual ~Something(){}; |
103 |
Something::realize(Usata& game, const Object_sp& self) |
Something::realize(Usata& game, const Object_sp& self) |
104 |
{ |
{ |
105 |
t = game.images().get("atex"); |
t = game.images().get("atex"); |
106 |
game.scene().add(self, "gui"); |
game.scene()->add(self, "gui"); |
107 |
} |
} |
108 |
|
|
109 |
USATA_OBJECT_REGISTER(Something) |
USATA_OBJECT_REGISTER(Something) |