Room Creating: Place Kitchen Furniture (#11)
Co-authored-by: Glaeder <niklas@vousten.dev> Co-authored-by: Fredi <fredrik.konrad@rwth-aachen.de> Reviewed-on: #11 Co-authored-by: Dominic <git@msrd0.de> Co-committed-by: Dominic <git@msrd0.de>
This commit is contained in:
parent
1275b92a5b
commit
33b301a410
54 changed files with 569 additions and 46 deletions
|
@ -1,5 +1,6 @@
|
|||
use crate::{
|
||||
activities::{house, overworld, Activity},
|
||||
assets::Assets,
|
||||
State
|
||||
};
|
||||
use comfy::{EngineContext, Vec2};
|
||||
|
@ -85,6 +86,10 @@ impl Sub<i32> for ZLayer {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn setup(_state: &mut State, ctx: &mut EngineContext<'_>) {
|
||||
Assets::load(ctx);
|
||||
}
|
||||
|
||||
pub fn update(state: &mut State, engine: &mut EngineContext<'_>) {
|
||||
state.score += engine.delta * 10.0;
|
||||
match state.activity {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue