/[usata]/usata2/src/objects/test_object.cpp
ViewVC logotype

Diff of /usata2/src/objects/test_object.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by skunix, Tue Jan 25 19:26:33 2005 UTC revision 1.16 by skunix, Wed Mar 2 00:27:11 2005 UTC
# Line 34  namespace Line 34  namespace
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(){};
# Line 103  namespace Line 103  namespace
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)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26