refactoring/change fileds of gameElement to private