rattle-parent
0.1.1-SNAPSHOT
jvm
rattle-common
/
io.github.aecsocket.rattle.world
/
EntityCollision
Entity
Collision
abstract
class
EntityCollision
(
val
platform
:
RattlePlatform
,
val
physics
:
PhysicsSpace
,
val
settings
:
EntityCollision.Settings
)
:
Destroyable
Members
Constructors
Entity
Collision
Link copied to clipboard
constructor
(
platform
:
RattlePlatform
,
physics
:
PhysicsSpace
,
settings
:
EntityCollision.Settings
)
Types
Settings
Link copied to clipboard
@
ConfigSerializable
data
class
Settings
(
val
enabled
:
Boolean
=
true
)
Properties
physics
Link copied to clipboard
val
physics
:
PhysicsSpace
platform
Link copied to clipboard
open
val
platform
:
RattlePlatform
settings
Link copied to clipboard
val
settings
:
EntityCollision.Settings
Functions
destroy
Link copied to clipboard
open
override
fun
destroy
(
)
on
Physics
Step
Link copied to clipboard
fun
onPhysicsStep
(
)