rattle-parent
0.1.1-SNAPSHOT
jvm
rattle-common
/
io.github.aecsocket.rattle.impl
/
RattleHook
Rattle
Hook
abstract
class
RattleHook
Members
Constructors
Rattle
Hook
Link copied to clipboard
constructor
(
)
Types
Draw
Link copied to clipboard
interface
Draw
Settings
Link copied to clipboard
@
ConfigSerializable
data
class
Settings
(
val
defaultLocale
:
Locale
=
AlexandriaHook.fallbackLocale
,
val
defaultTimescale
:
Double
=
1.0
,
val
worldPhysics
:
Map
<
String
,
PhysicsSpace.Settings
>
=
emptyMap()
,
val
simpleBodies
:
SimpleBodies.Settings
=
SimpleBodies.Settings()
,
val
terrain
:
TerrainCollision.Settings
=
TerrainCollision.Settings()
,
val
entities
:
EntityCollision.Settings
=
EntityCollision.Settings()
,
val
stats
:
RattleHook.Settings.Stats
=
Stats()
,
val
jobs
:
RattleHook.Settings.Jobs
=
Jobs()
,
val
draw
:
RattleHook.Settings.Draw
=
Draw()
,
val
rapier
:
RapierEngine.Settings
=
RapierEngine.Settings()
)
:
AlexandriaHook.Settings
Properties
ax
Link copied to clipboard
abstract
val
ax
:
AlexandriaHook
<
*
>
draw
Link copied to clipboard
abstract
val
draw
:
RattleHook.Draw
engine
Link copied to clipboard
lateinit
var
engine
:
RapierEngine
glossa
Link copied to clipboard
abstract
val
glossa
:
Glossa
log
Link copied to clipboard
abstract
val
log
:
KLogger
messages
Link copied to clipboard
lateinit
var
messages
:
MessageProxy
<
RattleMessages
>
settings
Link copied to clipboard
abstract
val
settings
:
RattleHook.Settings
Functions
destroy
Link copied to clipboard
fun
destroy
(
platform
:
RattlePlatform
?
)
init
Link copied to clipboard
fun
init
(
)
load
Link copied to clipboard
fun
load
(
platform
:
RattlePlatform
?
)
reload
Link copied to clipboard
fun
reload
(
)
run
Task
Link copied to clipboard
fun
runTask
(
task
:
Runnable
)