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

Class Invader

src/invaders.rs:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use std::{cmp::max, time::Duration};
7
8pub struct Invader {
9 pub x: usize,
10 pub y: usize,
11 points: u16,
12}
13
14pub struct Invaders {
15 pub army: Vec<Invader>,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected