abstract access to player inputs

@tojakk