Marking a Location
in
Programming Questions
•
1 year ago
What is the best way to mark a location as occupied? in the past I've used get(), but this is harder to maintain if I have different classes, and seems like a shortcut. Is it better to mark each location with a class or an array? If i use a class then you end up with (width*height) amount of classes which isn't good for performance. I hope that's clear enough. Any help is appreciated
1