Added inheritance, additional calculations still needed for rendering and wall collision