本文整理汇总了Java中com.artemis.Aspect.Builder方法的典型用法代码示例。如果您正苦于以下问题:Java Aspect.Builder方法的具体用法?Java Aspect.Builder怎么用?Java Aspect.Builder使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.artemis.Aspect
的用法示例。
在下文中一共展示了Aspect.Builder方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: firstTouchingEntityMatching
import com.artemis.Aspect; //导入方法依赖的package包/类
protected E firstTouchingEntityMatching(E subject, Aspect.Builder scope) {
for (E e : allEntitiesMatching(scope)) {
if (overlaps(e, subject))
return e;
}
return null;
}
示例2: ThreadedIteratingSystem
import com.artemis.Aspect; //导入方法依赖的package包/类
public ThreadedIteratingSystem(Aspect.Builder aspect, Threading threading) {
super(aspect);
this.threading = threading;
latchId = 2165;
threading.createLatch(latchId, Threading.cores);
}
示例3: FluidIntervalIteratingSystem
import com.artemis.Aspect; //导入方法依赖的package包/类
public FluidIntervalIteratingSystem(Aspect.Builder aspect, float interval) {
super(aspect, interval);
}
示例4: FluidIteratingSystem
import com.artemis.Aspect; //导入方法依赖的package包/类
public FluidIteratingSystem(Aspect.Builder aspect) {
super(aspect);
}
示例5: allEntitiesMatching
import com.artemis.Aspect; //导入方法依赖的package包/类
protected EBag allEntitiesMatching(Aspect.Builder scope) {
return new EBag(world.getAspectSubscriptionManager().get(scope).getEntities());
}
示例6: BaseRenderingSystem
import com.artemis.Aspect; //导入方法依赖的package包/类
public BaseRenderingSystem(Aspect.Builder aspect, Entities entities) {
super(aspect);
this.entities = entities;
renderableProviders = new Array<>();
}
示例7: NhgIteratingSystem
import com.artemis.Aspect; //导入方法依赖的package包/类
public NhgIteratingSystem(Aspect.Builder aspect) {
super(aspect);
}
示例8: NhgBaseEntitySystem
import com.artemis.Aspect; //导入方法依赖的package包/类
public NhgBaseEntitySystem(Aspect.Builder aspect) {
super(aspect);
}
示例9: FluidDeferredEntityProcessingSystem
import com.artemis.Aspect; //导入方法依赖的package包/类
/**
* Creates an entity system that uses the specified aspect as a matcher
* against entities.
*
* @param aspect to match against entities
* @param principal principal that will organize process calls to this system.
*/
public FluidDeferredEntityProcessingSystem(Aspect.Builder aspect, EntityProcessPrincipal principal) {
super(aspect, principal);
}