make object fields public and fixup compile errors
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
8fa56decd0
commit
484a505f2c
13 changed files with 258 additions and 216 deletions
|
|
@ -45,13 +45,9 @@ struct IkarusEntity;
|
|||
/// \param name The name of the entity.
|
||||
/// \pre \li Must not be null.
|
||||
/// \pre \li Must not be empty.
|
||||
/// \param blueprints Blueprints to link the entity to (0..n). Null is treated as an empty array.
|
||||
/// \param blueprints_count The number of blueprints.
|
||||
/// \return The created entity or null if an error occurs.
|
||||
/// \remark Must be freed using #ikarus_free.
|
||||
IKA_API IkarusEntity * ikarus_entity_create(
|
||||
struct IkarusProject * project, char const * name, struct IkarusBlueprint ** blueprints, size_t blueprints_count
|
||||
);
|
||||
IKA_API IkarusEntity * ikarus_entity_create(struct IkarusProject * project, char const * name);
|
||||
|
||||
/// \brief Deletes an entity.
|
||||
/// \param entity The entity to delete.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue