MCPcopy Create free account
hub / github.com/17cupsofcoffee/rl / Position

Class Position

src/components.rs:5–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3use tetra::graphics::Color;
4
5pub struct Position {
6 pub x: usize,
7 pub y: usize,
8}
9
10impl Position {
11 pub fn new(x: usize, y: usize) -> Position {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected