move method

void move(
  1. int x,
  2. int y
)

Implementation

void move(int x, int y){
  position.x = _tempPosition.x+x/100;
  position.y = _tempPosition.y-y/100;
}