Posted September 12, 2020 by Benji Kay
#engine #feature
You can now optionally attach a function as a property called onEnter
to any room. When the player enters the room, the function will get called. These functions receive the same data that items' use
functions do -- that is the disk itself, and also the println
, getRoom
and enterRoom
methods.