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ů.

Entity.cc 205B

123456789101112
  1. #include "Entity.h"
  2. #include "WorldPlane.h"
  3. namespace Swan {
  4. void Entity::despawn(const Swan::Context &ctx) {
  5. onDespawn(ctx);
  6. ctx.plane.getCollectionOf(typeid(*this)).erase(index_, generation_);
  7. }
  8. }