Vector

vector is a class position in 2D world

Vector is composed of 2 variables :

  • int x

  • int y

To get these variables you have to call these functions :

  • getX()

  • getY()

To set these varaibles you have to call these functions :

  • setX(int)

  • setY(int)

Last updated