setDefaultActions()

Setup the default/implicit game library actions.

parameters

none

Returns

none

Usage

Used to setup the default actions which is run for you.

Examples

1.

//Link code/server/rooms/room.js
onInit() {
	g.setDefaultActions();
}

purchase()
runGameLoop()

Need Help?

Proofread your code, check with your team and classmates, and if you’re still stuck!

Click Here for Help