12 lines
193 B
D
12 lines
193 B
D
|
module world.world_object;
|
||
|
|
||
|
import utils.shapes;
|
||
|
|
||
|
|
||
|
class WorldObject {
|
||
|
public Vec2f position;
|
||
|
public Rectf hitbox;
|
||
|
|
||
|
void update(float deltaTime);
|
||
|
void render(float deltaTime);
|
||
|
}
|