Verse Library verse

03 Device

Declares multiple editable device slots to connect buttons, timers, and granter devices.

verse-library/verse-devices-references/03-device.verse

using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }

arena_controller := class(creative_device):

    @editable
    StartButton : button_device = button_device{}

    @editable
    RoundTimer : timer_device = timer_device{}

    @editable
    RewardGranter : item_granter_device = item_granter_device{}

Comments

    Sign in to vote, comment, or suggest an edit. Sign in