MCPcopy Create free account
hub / github.com/CleanCut/invaders / Player

Class Player

src/player.rs:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7use std::time::Duration;
8
9pub struct Player {
10 x: usize,
11 y: usize,
12 shots: Vec<Shot>,
13}
14
15impl Player {
16 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected