Is it possible to put multiple values into one Array(1D) position? If so can you help?
I have an Array that everytime in my game I make an object (For example: a bed) i add an extra X index. What I'm looking for is if it's possible to store multiple values on the same index. For example: X position as integer, Y position as integer, health etc.etc. so when I search the Array i'm able to get the positions for the beds on the map and can quickly set my AI to pathfind towards it.