Class Flecs

java.lang.Object
com.github.elebras1.flecs.Flecs
All Implemented Interfaces:
AutoCloseable

public class Flecs extends Object implements AutoCloseable
  • Constructor Details

    • Flecs

      public Flecs()
  • Method Details

    • entity

      public long entity()
    • entity

      public long entity(String name)
    • obtainEntity

      public Entity obtainEntity(long entityId)
    • entityBulk

      public EcsLongList entityBulk(int count)
    • makeAlive

      public long makeAlive(long entityId)
    • setVersion

      public void setVersion(int entityId)
    • setEntityRange

      public void setEntityRange(long idStart, long idEnd)
    • enableRangeCheck

      public void enableRangeCheck(boolean enable)
    • prefab

      public long prefab()
    • progress

      public boolean progress(float deltaTime)
    • progress

      public boolean progress()
    • query

      public QueryBuilder query()
    • query

      public Query query(String expr)
    • lookup

      public long lookup(String name)
    • component

      public <T> long component(Class<T> componentClass)
    • component

      public <T> long component(Class<T> componentClass, Consumer<ComponentHooks<T>> configuration)
    • deleteEmptyTables

      public int deleteEmptyTables(int limit)
    • deferBegin

      public void deferBegin()
    • deferEnd

      public void deferEnd()
    • deferSuspend

      public void deferSuspend()
    • deferResume

      public void deferResume()
    • system

      public SystemBuilder system()
    • system

      public SystemBuilder system(String name)
    • observer

      public ObserverBuilder observer()
    • observer

      public ObserverBuilder observer(String name)
    • observer

      public <T> ObserverBuilder observer(Class<T> componentClass)
    • timer

      public TimerBuilder timer()
    • setThreads

      public void setThreads(int threads)
    • setPipeline

      public void setPipeline(long pipelineId)
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • toString

      public String toString()
      Overrides:
      toString in class Object