Added jBox logic into GameObejct class