A 2D tile-based sandbox game.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
123456789101112 |
- #include "Entity.h"
-
- #include "WorldPlane.h"
-
- namespace Swan {
-
- void Entity::despawn(const Swan::Context &ctx) {
- onDespawn(ctx);
- ctx.plane.getCollectionOf(typeid(*this)).erase(index_, generation_);
- }
-
- }
|