BetterModel
Toggle table of contents
1.5.1-SNAPSHOT-92
api
Platform filter
api
Switch theme
Search in API
BetterModel
api
/
kr.toxicity.model.api.script
/
TimeScript
Time
Script
class
TimeScript
:
Record
,
EntityScript
Script with time
Parameters
time
time
script
source script
Members
Constructors
Time
Script
Link copied to clipboard
constructor
(
)
Properties
EMPTY
Link copied to clipboard
val
EMPTY
:
EntityScript
Empty script
Functions
accept
Link copied to clipboard
open
fun
accept
(
entity
:
Entity
)
and
Then
Link copied to clipboard
open
fun
andThen
(
p
:
Consumer
<
in
T
>
)
:
Consumer
<
T
>
@
NotNull
open
fun
andThen
(
@
NotNull
after
:
Consumer
<
in
Entity
>
)
:
EntityScript
equals
Link copied to clipboard
abstract
fun
equals
(
p
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
abstract
fun
hashCode
(
)
:
Int
of
Link copied to clipboard
@
NotNull
open
fun
of
(
@
NotNull
scriptList
:
List
<
EntityScript
>
)
:
EntityScript
Sums a script list to one
time
Link copied to clipboard
@
NotNull
open
fun
time
(
time
:
Int
)
:
TimeScript
Creates a timed script
to
String
Link copied to clipboard
abstract
fun
toString
(
)
:
String