mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
23 lines
339 B
C++
23 lines
339 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <iostream>
|
|
|
|
class Level;
|
|
|
|
class Object {
|
|
private:
|
|
|
|
public:
|
|
uint64_t objectUID;
|
|
bool shouldUpdate = true;
|
|
|
|
public:
|
|
~Object() { destroyed(); }
|
|
|
|
public:
|
|
virtual void spawned() { }
|
|
virtual void update(float delta) { }
|
|
virtual void destroyed() { }
|
|
};
|