updated event handling
added allowed events to player class