Whoops. Never mind. It does work. Typo.
But now I have a new question. If I first create a ship, and then add it to an array of ships, does this create some sort of memory leak? Is the ship now existent in two places, and I have to delete the single ship, or is it okay?
But now I have a new question. If I first create a ship, and then add it to an array of ships, does this create some sort of memory leak? Is the ship now existent in two places, and I have to delete the single ship, or is it okay?