Package teilchen.cubicle
Interface ICubicleEntity
-
- All Known Implementing Classes:
CubicleEntity
,CubicleParticle
public interface ICubicleEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vector3i
cubicle()
get reference to the cubicle idboolean
isActive()
entities can be temporarily removed from the process of being updated by the world.boolean
leaving(int pX, int pY, int pZ)
returns true if the new position don t match the previously stored positionprocessing.core.PVector
position()
get reference to position vector
-
-
-
Method Detail
-
cubicle
Vector3i cubicle()
get reference to the cubicle id- Returns:
- cubicle id
-
position
processing.core.PVector position()
get reference to position vector- Returns:
- position
-
leaving
boolean leaving(int pX, int pY, int pZ)
returns true if the new position don t match the previously stored position- Parameters:
pX
- xpY
- ypZ
- z- Returns:
- returns true if the new position don t match the previously stored position
-
isActive
boolean isActive()
entities can be temporarily removed from the process of being updated by the world.- Returns:
- returns active state
-
-