Very basic collision and combat to work out the idea and a logging system on the left.
This commit is contained in:
parent
98993481b0
commit
dbc2a10933
5 changed files with 57 additions and 13 deletions
|
@ -58,6 +58,8 @@ class SpatialHashTable {
|
|||
std::unordered_map<Point, std::vector<Object*>, PointHash> table;
|
||||
};
|
||||
|
||||
|
||||
|
||||
int main() {
|
||||
SpatialHashTable hashTable;
|
||||
Object obj1 = {{5, 5}};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue