5 #import <Foundation/Foundation.h>
32 #define DJINNI_EXPORT __attribute__((__visibility__("default")))
42 - (void)setName:(nonnull NSString *)name;
51 - (void)addChild:(nullable
BNBEntity *)child;
57 - (void)removeChild:(nullable
BNBEntity *)child;
71 - (nullable
BNBEntity *)findChildByName:(nonnull NSString *)entityName;
80 - (void)setActive:(BOOL)active;
89 - (void)addIntoLayer:(nullable
BNBLayer *)layer;
95 - (void)removeFromLayer:(nullable
BNBLayer *)layer;
104 - (void)addComponent:(nullable
BNBComponent *)component;
111 - (BOOL)hasComponent:(BNBComponentType)type;
118 - (nullable
BNBComponent *)getComponent:(BNBComponentType)type;
124 - (void)removeComponent:(nullable
BNBComponent *)component;