Skip to content
a13782425 edited this page Jun 15, 2018 · 1 revision

Group(组)

目录

构造函数

  • API
    • Group(ComponentFlag)//构造函数
    • Group(ComponentIds.Test1,ComponentIds.Test2)//构造函数

公共变量

  • API
    • ComponentFlag ComponentFlag//当前组对应的标签
    • Dictionary<Int32, Entity> EntityDic//当前组所有的实体对象
    • int Count//当前组拥有的对相个数

公共方法

  • API
    • bool HasComponent(Int64)//当前组是否包含此组件标签
    • Group AddEntity(Entity)//将实体添加到该组
    • Group RemoveEntity(Entity)//将实体添加到该组
Clone this wiki locally