当前位置: 首页>>代码示例>>Java>>正文


Java Aspect.Builder方法代码示例

本文整理汇总了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;
}
 
开发者ID:DaanVanYperen,项目名称:odb-artax,代码行数:8,代码来源:FluidIteratingSystem.java

示例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);
}
 
开发者ID:MovementSpeed,项目名称:nhglib,代码行数:8,代码来源:ThreadedIteratingSystem.java

示例3: FluidIntervalIteratingSystem

import com.artemis.Aspect; //导入方法依赖的package包/类
public FluidIntervalIteratingSystem(Aspect.Builder aspect, float interval) {
    super(aspect, interval);
}
 
开发者ID:DaanVanYperen,项目名称:odb-artax,代码行数:4,代码来源:FluidIntervalIteratingSystem.java

示例4: FluidIteratingSystem

import com.artemis.Aspect; //导入方法依赖的package包/类
public FluidIteratingSystem(Aspect.Builder aspect) {
    super(aspect);
}
 
开发者ID:DaanVanYperen,项目名称:odb-artax,代码行数:4,代码来源:FluidIteratingSystem.java

示例5: allEntitiesMatching

import com.artemis.Aspect; //导入方法依赖的package包/类
protected EBag allEntitiesMatching(Aspect.Builder scope) {
    return new EBag(world.getAspectSubscriptionManager().get(scope).getEntities());
}
 
开发者ID:DaanVanYperen,项目名称:odb-artax,代码行数:4,代码来源:FluidIteratingSystem.java

示例6: BaseRenderingSystem

import com.artemis.Aspect; //导入方法依赖的package包/类
public BaseRenderingSystem(Aspect.Builder aspect, Entities entities) {
    super(aspect);
    this.entities = entities;

    renderableProviders = new Array<>();
}
 
开发者ID:MovementSpeed,项目名称:nhglib,代码行数:7,代码来源:BaseRenderingSystem.java

示例7: NhgIteratingSystem

import com.artemis.Aspect; //导入方法依赖的package包/类
public NhgIteratingSystem(Aspect.Builder aspect) {
    super(aspect);
}
 
开发者ID:MovementSpeed,项目名称:nhglib,代码行数:4,代码来源:NhgIteratingSystem.java

示例8: NhgBaseEntitySystem

import com.artemis.Aspect; //导入方法依赖的package包/类
public NhgBaseEntitySystem(Aspect.Builder aspect) {
    super(aspect);
}
 
开发者ID:MovementSpeed,项目名称:nhglib,代码行数:4,代码来源:NhgBaseEntitySystem.java

示例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);
}
 
开发者ID:DaanVanYperen,项目名称:odb-artax,代码行数:11,代码来源:FluidDeferredEntityProcessingSystem.java


注:本文中的com.artemis.Aspect.Builder方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。