LiftKind class final
Travels to the far end when called and back, as a Lift.
- Inheritance
-
- Object
- EntityKind
- LiftKind
Constructors
- LiftKind()
-
The
liftkind: a sized block with atravel.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mustBeReachable → bool
-
Whether a player has to be able to get to one of these.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The string that appears in a level document.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
place(
EntityDef entity, SpawnContext context, {required ColliderKind kind, int layer = CollisionLayers.world, int mask = CollisionLayers.all, Vector3? fallbackSize}) → Collider -
Puts the box this entity brings with it into the world.
inherited
-
requireKeyExists(
EntityDef entity, LevelScope scope, List< LevelIssue> out) → void -
Reports that a key this entity demands exists nowhere in the level.
inherited
-
requireSize(
EntityDef entity, LevelScope scope, List< LevelIssue> out) → void -
Reports that an entity which has to occupy space does not say how much.
inherited
-
requireTarget(
EntityDef entity, LevelScope scope, List< LevelIssue> out, {bool optional = false}) → void -
Reports that a named reference does not resolve.
inherited
-
requireText(
EntityDef entity, LevelScope scope, List< LevelIssue> out, String key) → void -
Reports that the text property
keyan entity has to show is missing or empty.inherited -
requireTravel(
EntityDef entity, LevelScope scope, List< LevelIssue> out) → void -
Reports that a movement offset is missing or goes nowhere.
inherited
-
spawn(
EntitySpawn spawn) → void -
Brings the spawn's entity into the world.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
EntityCheck check) → void -
Checks one entity of this kind, in the context of the level around it,
adding what is wrong to the check's EntityCheck.out.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited