Interface IPreptimeWorld

Hierarchy

Implemented by

Properties

Configuration of how a runtime should work

Initial data to operate on

name?: string

World's name

Methods

  • Add a resource to this world and returns the resource instance

    Type Parameters

    • T extends object

    Parameters

    • type: T | TTypeProto<T>
    • Rest ...args: readonly unknown[]

      constructor parameters

    Returns T | TTypeProto<T>

  • Check if a resource was stored

    Type Parameters

    • T extends object

    Parameters

    • type: T | TTypeProto<T>

    Returns boolean

Generated using TypeDoc