Class OgreQuery
- java.lang.Object
-
- be.yildizgames.module.graphic.ogre.OgreQuery
-
- All Implemented Interfaces:
be.yildizgames.common.jni.Native
,be.yildizgames.module.graphic.query.Query
public final class OgreQuery extends Object implements be.yildizgames.module.graphic.query.Query, be.yildizgames.common.jni.Native
Ogre implementation for a Query.- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description OgreQuery(be.yildizgames.common.jni.NativePointer pointer, float resolutionX, float resolutionY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
List<be.yildizgames.common.model.EntityId>
getEntities(be.yildizgames.common.geometry.Rectangle rectangle)
Optional<be.yildizgames.common.model.EntityId>
getEntity(float x, float y)
be.yildizgames.common.jni.NativePointer
getPointer()
-
-
-
Method Detail
-
getEntity
public Optional<be.yildizgames.common.model.EntityId> getEntity(float x, float y)
- Specified by:
getEntity
in interfacebe.yildizgames.module.graphic.query.Query
-
getEntities
public List<be.yildizgames.common.model.EntityId> getEntities(be.yildizgames.common.geometry.Rectangle rectangle)
- Specified by:
getEntities
in interfacebe.yildizgames.module.graphic.query.Query
-
delete
public void delete()
- Specified by:
delete
in interfacebe.yildizgames.common.jni.Native
-
getPointer
public be.yildizgames.common.jni.NativePointer getPointer()
- Specified by:
getPointer
in interfacebe.yildizgames.common.jni.Native
-
-