use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(js_name = "gpl")]
type Gpl;
#[wasm_bindgen(js_namespace = ["Game"], js_class = "gpl", static_method_of = Gpl, getter, js_name = level)]
fn level() -> u32;
#[wasm_bindgen(js_namespace = ["Game"], js_class = "gpl", static_method_of = Gpl, getter, js_name = progress)]
fn progress() -> f64;
#[wasm_bindgen(js_namespace = ["Game"], js_class = "gpl", static_method_of = Gpl, getter, js_name = progressTotal)]
fn progress_total() -> f64;
}
pub fn level() -> u32 {
Gpl::level()
}
pub fn progress() -> f64 {
Gpl::progress()
}
pub fn progress_total() -> f64 {
Gpl::progress_total()
}