Hey guys! This question is asking for equal parts programming design advice and as3 language help!
for reference, I am making a 2.5d isometric action rpg.
the subclasses of Entity receive public variables x and y, but I would like to move objects around on screen according to their planar x, y, and z (respectively, their position left and right, their position near or far from the camera, and their height above the ground)
I don’t want any of my movement functions to be able to modify the screen position of my entity subclasses directly. I want to hard code in the need to use getters and setters to access and modify the x and y values. This is important, because I am working with multiple people coding, and it reduces the possibility of introducing error.