* 将系统加入指定集合 * Add system to specified sets * * @param sets 集合名称列表 | Set names * @returns this (用于链式调用 | for chaining) * * @example * ```typescript * class MySystem extends EntitySystem { * constructor() { * super(); * this.in
(...sets: string[])
| 391 | * ``` |
| 392 | */ |
| 393 | public inSet(...sets: string[]): this { |
| 394 | this._schedulingMetadata.sets.push(...sets); |
| 395 | this._scene?.markSystemsOrderDirty(); |
| 396 | return this; |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * 获取系统的执行阶段 |
nothing calls this directly
no test coverage detected