Type alias MobThinkFunction

MobThinkFunction: ((game, mob) => void)

Type declaration

    • (game, mob): void
    • The definition of a function that will be called to cause any mob to think and act

      Parameters

      • game: GameContext

        The game context to interact with the world

      • mob: MobContext

        The mob doing that there thinking

      Returns void

Generated using TypeDoc