A 2D tile-based sandbox game.
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
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_);
- }
-
- }
|