5 #import <Foundation/Foundation.h>
32 + (nullable
BNBEntity *)create:(nonnull NSString *)name;
35 - (void)setName:(nonnull NSString *)name;
39 - (void)addChild:(nullable
BNBEntity *)child;
41 - (void)removeChild:(nullable
BNBEntity *)child;
51 - (nullable
BNBEntity *)findChildByName:(nonnull NSString *)entityName;
55 - (void)setActive:(BOOL)active;
59 - (void)addIntoLayer:(nullable
BNBLayer *)layer;
67 - (BOOL)hasComponent:(BNBComponentType)type;
69 - (nullable
BNBComponent *)getComponent:(BNBComponentType)type;
71 - (void)removeComponent:(nullable
BNBComponent *)component;