API Docs for: 0.1.0
Show:

zerk.game.engine.system.message.message Class

Message

Represents a message of the message system.

Item Index

Methods

Methods

init

(
  • id
  • x
  • y
  • text
  • size
  • color
)

Class constructor

Parameters:

  • id String

    Unique ID of the message

  • x Integer

    Horizontal position

  • y Integer

    Vertical position

  • text String

    Message text

  • size Integer

    Font size

  • color String

    Font color

Properties

color

String

Font color

id

String

Unique ID of the message

lifetime

Integer

Lifetime of the message

starttime

Integer

Starttime of the message

text

String

Message text

x

Integer

Horizontal position

y

Integer

Vertical position