modify GridObject to have same structure with GridActor abount painting method.