getfloor method added for Eric

added a getfloor method to gamecore for the minimap