add collsionSide method in base sprite