Game Object
class GameObject(obj: BasicObject<*>?, type: GameObject.Type) : Interactive, Nameable, InteractableEntity, Identifiable, Validatable, Actionable, Modelable<GameObject> , Nillable<GameObject> , Emittable<ObjectAction>
Content copied to clipboard
GameObject
Constructors
GameObject
Link copied to clipboard
Types
Functions
bounding Model
Link copied to clipboard
Gets the current bounding model
Sets the bounding model
fun boundingModel(expectedModel: BoundingModel?, boundingModel: BoundingModel?)
Content copied to clipboard
Compares and sets the bounding model
calculate Screen Position
Link copied to clipboard
center Point
Link copied to clipboard
{@inheritDoc}
create Action
Link copied to clipboard
open override fun createAction(action: String?, async: Boolean): ObjectAction
Content copied to clipboard
do Set Bounds
Link copied to clipboard
downscale
Link copied to clipboard
dynamic Object
Link copied to clipboard
get Model Cache Id
Link copied to clipboard
get Objects Top Left Tile
Link copied to clipboard
Gets the top left tile of this gameobject.
get Walkable Neighbours
Link copied to clipboard
Gets North/east/west/south neighbours. Did not get diagonal since gameobjects make it painful to check since you gameobjects don't let you check game object flags going out and coming since they are unwalkable.
in Viewport
Link copied to clipboard
{@inheritDoc}
Returns true
if the object is currently rendered in the viewport.
is Rendered
Link copied to clipboard
model Center Point
Link copied to clipboard
Get the center point of the model
model Height
Link copied to clipboard
model Orientations
Link copied to clipboard
The orientations of the entity
modified Colors
Link copied to clipboard
nil
Link copied to clipboard
A "null" instance. An object with no function. All methods will not evaluate to anything.
orientation
Link copied to clipboard
original Colors
Link copied to clipboard
renderables
Link copied to clipboard
tile Height
Link copied to clipboard
type
Link copied to clipboard
use Hull
Link copied to clipboard
Properties
Extensions
can Use Door
Link copied to clipboard
is Door
Link copied to clipboard
is Rockfall
Link copied to clipboard