import IIncomingEvent from "../IIncomingEvent" ; import ServerMessage from "../../protocol/ServerMessage" ; import BobbaEnvironment from "../../../BobbaEnvironment" ; export default class HandleLeaveRoom implements IIncomingEvent { handle ( request ) { BobbaEnvironment . getGame ( ) . unloadRoom ( ) ; } }