chore: Initial commit
This commit is contained in:
18
src/sim/world_object.hpp
Normal file
18
src/sim/world_object.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "../math.hpp"
|
||||
#include "../renderer.hpp"
|
||||
|
||||
namespace dxd::sim
|
||||
{
|
||||
|
||||
class WorldObject
|
||||
{
|
||||
public:
|
||||
WorldObject() {}
|
||||
|
||||
virtual void tick(float timestep, vec2 bounds) = 0;
|
||||
virtual void draw(Renderer *rend) = 0;
|
||||
};
|
||||
|
||||
} // namespace dxd::sim
|
||||
Reference in New Issue
Block a user