Changeset 9629 for code/branches/core6/src/modules/designtools
- Timestamp:
- Aug 9, 2013, 9:26:46 PM (11 years ago)
- Location:
- code/branches/core6/src/modules/designtools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/modules/designtools/CreateStars.cc
r8351 r9629 39 39 CreateFactory(CreateStars); 40 40 41 CreateStars::CreateStars( BaseObject* creator) : BaseObject(creator)41 CreateStars::CreateStars(Context* context) : BaseObject(context) 42 42 { 43 43 RegisterObject(CreateStars); … … 69 69 for(int i=0; i < numStars_; i++) 70 70 { 71 Billboard* bb = new Billboard(this );71 Billboard* bb = new Billboard(this->getContext()); 72 72 73 73 float r = rnd(-colourDiff_,colourDiff_); -
code/branches/core6/src/modules/designtools/CreateStars.h
r7163 r9629 38 38 { 39 39 public: 40 CreateStars( orxonox::BaseObject* creator);40 CreateStars(Context* context); 41 41 virtual ~CreateStars(); 42 42
Note: See TracChangeset
for help on using the changeset viewer.