summaryrefslogtreecommitdiff
path: root/src/game/world/world.h
blob: 11af15e95556b4e82c917cf4dd1921fcf251cf02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include "../object.h"

struct WORLD : OBJECT {
  static const U32 CLASSID = OBJCLASS_WORLD;
  using OBJ_SELF_TYPE = WORLD;

  struct WORLD_MAP* map;
};

extern WORLD* world_create( WORLD_MAP* map );
extern STAT world_populate_entities( WORLD* world );