Revision: | 1837 |
Committed: | Thu Dec 2 22:15:31 2004 UTC (19 years, 9 months ago) by tim |
File size: | 245 byte(s) |
Log Message: | refine factory pattern to make it initialized correctly |
# | User | Rev | Content |
---|---|---|---|
1 | tim | 1837 | |
2 | #include "UseTheForce/ForceFieldCreator.hpp" | ||
3 | #include "UseTheForce/ForceFieldFactory.hpp" | ||
4 | |||
5 | namespace oopse { | ||
6 | |||
7 | ForceFieldCreator::ForceFieldCreator(const std::string& ident) { | ||
8 | ForceFieldFactory::getInstance()->registerForceField(this); | ||
9 | } | ||
10 | |||
11 | } |
Name | Value |
---|---|
svn:executable | * |