File tree Expand file tree Collapse file tree 9 files changed +36
-36
lines changed Expand file tree Collapse file tree 9 files changed +36
-36
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ const Themes = [
2323 }
2424]
2525
26- module . exports = class CoinPickupGame extends BasePlugin {
26+ export default class CoinPickupGame extends BasePlugin {
2727
2828 /** Plugin info */
29- static get id ( ) { return ' vatominc-coin-pickup-game' }
30- static get name ( ) { return ' Coin Pickup Game' }
31- static get description ( ) { return ' A game where users can walk over coins to collect them.' }
29+ static id = " vatominc-coin-pickup-game"
30+ static name = " Coin Pickup Game"
31+ static description = " A game where users can walk over coins to collect them."
3232
3333 /** Current number of coins collected */
3434 score = 0
Original file line number Diff line number Diff line change 66 * @license MIT
77 * @author FrancoBolevin
88 */
9- module . exports = class GunPlugin extends BasePlugin {
9+ export default class GunPlugin extends BasePlugin {
1010
1111 /** Plugin info */
12- static get id ( ) { return ' gunplugin' }
13- static get name ( ) { return ' Gun shooting game' }
14- static get description ( ) { return ' A game where users can shoot a projectile from a gun.' }
12+ static id = " gunplugin"
13+ static name = " Gun shooting game"
14+ static description = " A game where users can shoot a projectile from a gun."
1515
1616 /** Called when the plugin is loaded */
1717 async onLoad ( ) {
Original file line number Diff line number Diff line change 66 * @license MIT
77 * @author jjv360
88 */
9- module . exports = class IframeAlert extends BasePlugin {
9+ export default class IframeAlert extends BasePlugin {
1010
1111 /** Plugin info */
12- static get id ( ) { return ' iframe-alert' }
13- static get name ( ) { return ' Custom UI Popup' }
14- static get description ( ) { return ' Tests the ability to display custom UI within the app.' }
12+ static id = " iframe-alert"
13+ static name = " Custom UI Popup"
14+ static description = " Tests the ability to display custom UI within the app."
1515
1616 /** Called when the plugin is loaded */
1717 async onLoad ( ) {
Original file line number Diff line number Diff line change 1313/** Determines the interval of state transfer over the network, in milliseconds */
1414const StateTransferInterval = 100
1515
16- module . exports = class Physics extends BasePlugin {
16+ export default class Physics extends BasePlugin {
1717
1818 /** Plugin info */
19- static get id ( ) { return ' vatominc-physics' }
20- static get name ( ) { return ' Physics' }
21- static get description ( ) { return ' Allows objects in the space to have physics.' }
19+ static id = " vatominc-physics"
20+ static name = " Physics"
21+ static description = " Allows objects in the space to have physics."
2222
2323 /** Position of user in the x direction */
2424 userX = 0
Original file line number Diff line number Diff line change 99 * @license MIT
1010 * @author Vatom Inc.
1111 */
12- module . exports = class PopupMessage extends BasePlugin {
12+ export default class PopupMessage extends BasePlugin {
1313
1414 /** Plugin info */
15- static get id ( ) { return ' vatominc-popup-message' }
16- static get name ( ) { return ' Popup Message' }
17- static get description ( ) { return ' Display a message, in a popup, to users when they enter the space.' }
15+ static id = " vatominc-popup-message"
16+ static name = " Popup Message"
17+ static description = " Display a message, in a popup, to users when they enter the space."
1818
1919 /** Called when the plugin is loaded */
2020 async onLoad ( ) {
Original file line number Diff line number Diff line change 99 * @license MIT
1010 * @author Vatom Inc.
1111 */
12- module . exports = class PortalPlugin extends BasePlugin {
12+ export default class PortalPlugin extends BasePlugin {
1313
1414 /** Plugin info */
15- static get id ( ) { return ' vatominc-portals' }
16- static get name ( ) { return ' Portals' }
17- static get description ( ) { return ' Allow users to teleport to different areas within the space.' }
15+ static id = " vatominc-portals"
16+ static name = " Portals"
17+ static description = " Allow users to teleport to different areas within the space."
1818
1919 /** All loaded portals */
2020 portals = [ ]
Original file line number Diff line number Diff line change 1010 * @license MIT
1111 * @author Vatom Inc.
1212 */
13- module . exports = class Spotify extends BasePlugin {
13+ export default class Spotify extends BasePlugin {
1414
1515 /** Plugin info */
16- static get id ( ) { return ' vatominc-spotify' }
17- static get name ( ) { return ' Spotify Playlist' }
18- static get description ( ) { return ' Allows you to open a spotify playlist inside the space.' }
16+ static id = " vatominc-spotify"
17+ static name = " Spotify Playlist"
18+ static description = " Allows you to open a spotify playlist inside the space."
1919
2020 /** Called when the plugin is loaded */
2121 onLoad ( ) {
Original file line number Diff line number Diff line change 66 * @license MIT
77 * @author jjv360
88 */
9- module . exports = class SystemAlertPlugin extends BasePlugin {
9+ export default class SystemAlertPlugin extends BasePlugin {
1010
1111 /** Plugin info */
12- static get id ( ) { return ' jjv360.system-alert' }
13- static get name ( ) { return ' System Alert' }
14- static get description ( ) { return ' Display a message, in a toast, to all users in the space.' }
12+ static id = " jjv360.system-alert"
13+ static name = " System Alert"
14+ static description = " Display a message, in a toast, to all users in the space."
1515
1616 /** Called when the plugin is loaded */
1717 async onLoad ( ) {
Original file line number Diff line number Diff line change 66 * @license MIT
77 * @author zmaqutu
88 */
9- module . exports = class TextNotificationPlugin extends BasePlugin {
9+ export default class TextNotificationPlugin extends BasePlugin {
1010
1111 /** Plugin info */
12- static get id ( ) { return ' zongo.text-notify' }
13- static get name ( ) { return ' Text Notification' }
14- static get description ( ) { return ' Notifies space hosts via text when a new user arrives in their space.' }
12+ static id = " zongo.text-notify"
13+ static name = " Text Notification"
14+ static description = " Notifies space hosts via text when a new user arrives in their space."
1515
1616 phoneNumberMap = new Map ( )
1717 userName = ''
You can’t perform that action at this time.
0 commit comments