Point
Create New Point
pub fn new(x: i32, y: i32) -> Point
Oftentimes, we want to switch between grid coordinates and screen coordinates. See here to see examples of how to do this.
pub fn new(x: i32, y: i32) -> Point
Oftentimes, we want to switch between grid coordinates and screen coordinates. See here to see examples of how to do this.