A 2D tile-based sandbox game.
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
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_);
- }
-
- }
|