celaria-formats
    Preparing search index...

    Class Block

    I represent solid geometry in the form of rectangular prisms.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    medalTimes: MedalTimes

    The medal times associated with the goal or checkpoint. Populated and required by CelariaMap.

    position: Vector3

    The position of where I am. Z is the gravity axis.

    rotation: number

    The rotation of the object I represent.

    scale: Vector3

    The scale of the object I represent.

    type: number

    My block type. Sometimes this gets overridden during map serialization.

    types: { checkpoint: 5; goal: 1; ice: 4; jump: 2; plain: 0; speed: 3 } = ...

    Type Declaration

    • checkpoint: 5

      I've been purple. But lately I'm red. I represent checkpoints of a map.

    • goal: 1

      I'm red and I'm the goal of a map. Or the space above me, that is.

    • ice: 4

      I'm blue. It's difficult to walk on and climb on me.

    • jump: 2

      I'm green. I let the player jump higher if they're touching me.

    • plain: 0

      I'm standard level geometry.

    • speed: 3

      I'm yellow. I speed up players who walk on me.

    Accessors