Playstate.java interface