Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CleanCut/invaders
/ add_points
Method
add_points
src/score.rs:13–15 ·
view source on GitHub ↗
(&mut self, amount: u16)
Source
from the content-addressed store, hash-verified
11
}
12
13
pub fn add_points(&mut self, amount: u16) {
14
self.count += amount;
15
}
16
}
17
18
impl Drawable for Score {
Callers
1
main
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected