box collider
This commit is contained in:
@@ -26,8 +26,8 @@ namespace Game::State {
|
||||
|
||||
// Update entity at index, by REFERENCE.
|
||||
Object::Entity* getAtIndex(size_t at);
|
||||
// Add an entity to the gamestate.
|
||||
void addEntity(std::unique_ptr<Object::Entity> entity);
|
||||
// Add an entity to the gamestate; Returns a temporary pointer to the entity added. Note that the validity of this pointer cannot be guaranteed after the first call.
|
||||
Object::Entity* addEntity(std::unique_ptr<Object::Entity> entity);
|
||||
bool removeEntity(const std::string& name);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user