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

Method new

src/components.rs:11–13  ·  view source on GitHub ↗
(x: usize, y: usize)

Source from the content-addressed store, hash-verified

9
10impl Position {
11 pub fn new(x: usize, y: usize) -> Position {
12 Position { x, y }
13 }
14}
15
16pub struct Sprite {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected