Method used to translate component
void translate(double translateX, double translateY) { position.add(Vector2(translateX, translateY)); }