Archive incari-client (client, 26.3, clean)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// The count on the glass, where the player placed it.
|
||||
fn incari_cps_hud(
|
||||
game: &mut crate::game::Game<'_>,
|
||||
batch: &mut horizon_client::hud::HudBatch,
|
||||
corners: &mut horizon_client::extras_hud::Corners,
|
||||
) {
|
||||
use crate::game::{incari_client as c, incari_cps as m};
|
||||
let _ = corners;
|
||||
let (left, right) = game.native_clicks();
|
||||
c::element(game, batch, m::ID, "cps", |canvas| {
|
||||
let buttons = canvas.module.choice("buttons");
|
||||
m::with_text(buttons, left, right, |text| {
|
||||
Some(canvas.text_element(text, Some(m::widest(buttons)), incari_core::theme::Tone::Text))
|
||||
})
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user