MCPcopy Create free account
hub / github.com/TanTanDev/rusty_demon_attack / draw

Method draw

src/player.rs:124–129  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

122 }
123
124 pub fn draw(&self) {
125 match self.state {
126 PlayerState::Normal => self.draw_state_normal(),
127 PlayerState::Invisible(time_left) => self.draw_state_invisible(&time_left),
128 }
129 }
130
131 pub fn draw_state_normal(&self) {
132 draw_texture_ex(

Callers

nothing calls this directly

Calls 2

draw_state_invisibleMethod · 0.80
draw_state_normalMethod · 0.45

Tested by

no test coverage detected