mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Use Singleton base class.
I.e. make sure that all objects have a defined life time. This requires that we actually set up and tear down the singletons.
This commit is contained in:
parent
f283ffbafb
commit
7ae19d5038
89 changed files with 664 additions and 1041 deletions
|
|
@ -74,6 +74,10 @@ class TestWorld : public BaseWorld {
|
|||
}
|
||||
virtual void message(const Operation & op, LocatedEntity & ent) {
|
||||
}
|
||||
virtual void messageToClients(const Atlas::Objects::Operation::RootOperation &) {
|
||||
|
||||
}
|
||||
|
||||
virtual LocatedEntity * findByName(const std::string & name) { return 0; }
|
||||
virtual LocatedEntity * findByType(const std::string & type) { return 0; }
|
||||
virtual void addPerceptive(LocatedEntity *) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue