AddEntityUpdate.h 329 B

12345678910111213141516171819
  1. #pragma once
  2. #include "WorldUpdate.h"
  3. #include "Entity.h"
  4. class AddEntityUpdate : public WorldUpdate
  5. {
  6. private:
  7. Entity* entity;
  8. protected:
  9. void write(Framework::StreamWriter* zWriter) override;
  10. public:
  11. AddEntityUpdate(Entity* entity, int dimension);
  12. ~AddEntityUpdate();
  13. void onUpdate(Dimension* zDimension) override;
  14. };