Hi all! I am working on a project and ran into a predicament. I need my object (Player1) to spawn into the world. It needs to spawn at one point or another at random when I click the reset button. I keep messing up, so I was wondering if anyone could give me some guidance. I tried using the OR (||), but it does not seem to be working.
private void prepare()
{
Player Player1 = new Player();
addObject (Player1, 165,100 || 159, 425);
}
