mirror of
https://github.com/lisk77/comet.git
synced 2025-10-23 21:38:50 +00:00
update README
This commit is contained in:
parent
63cee9f5c1
commit
5456d2a1d7
1 changed files with 8 additions and 0 deletions
|
@ -46,6 +46,14 @@ use comet::{
|
|||
renderer::renderer2d::Renderer2D,
|
||||
};
|
||||
|
||||
struct GameState {}
|
||||
|
||||
impl GameState {
|
||||
pub fn new() -> Self {
|
||||
Self {}
|
||||
}
|
||||
}
|
||||
|
||||
// This function will be called once before the event loop starts
|
||||
fn setup(app: &mut App, renderer: &mut Renderer2D) {}
|
||||
// This function will be called every tick
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue