Changed getPosition into BattleObject