I am just wondering what the process is for checking the object type of something.
Basically I have an array of parent objects and I want to check if one of those objects is of a particular child type.
more specifically, I want to check if an array of GameScreen objects contains a GameScreen object of type GameplayScreen.
GameScreen[] screens = mScreenManager.GetScreens();
// loop through array and check if the object equals gameplayscreen
}