Skip to content

Commit

Permalink
Merge pull request #4 from esengine/develop
Browse files Browse the repository at this point in the history
新增被动系统与协调系统 完善matcher
  • Loading branch information
esengine authored Jul 1, 2020
2 parents 549db2f + 7f02272 commit 28941f2
Show file tree
Hide file tree
Showing 11 changed files with 21,957 additions and 10,046 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/restylers.yaml

This file was deleted.

15 changes: 15 additions & 0 deletions demo/libs/framework/framework.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,15 @@ declare abstract class EntityProcessingSystem extends EntitySystem {
protected process(entities: Entity[]): void;
protected lateProcess(entities: Entity[]): void;
}
declare abstract class PassiveSystem extends EntitySystem {
onChanged(entity: Entity): void;
protected process(entities: Entity[]): void;
}
declare abstract class ProcessingSystem extends EntitySystem {
onChanged(entity: Entity): void;
protected process(entities: Entity[]): void;
abstract processSystem(): any;
}
declare class BitSet {
private static LONG_MASK;
private _bits;
Expand Down Expand Up @@ -568,7 +577,13 @@ declare class Matcher {
protected exclusionSet: BitSet;
protected oneSet: BitSet;
static empty(): Matcher;
getAllSet(): BitSet;
getExclusionSet(): BitSet;
getOneSet(): BitSet;
IsIntersted(e: Entity): boolean;
all(...types: any[]): Matcher;
exclude(...types: any[]): this;
one(...types: any[]): this;
}
declare class RenderableComponentList {
private _components;
Expand Down
Loading

0 comments on commit 28941f2

Please sign in to comment.