room-creation (#15)
Co-authored-by: Dominic <git@msrd0.de> Co-authored-by: Fredi <fredrik.konrad@rwth-aachen.de> Reviewed-on: #15 Co-authored-by: Glaeder <niklas@vousten.dev> Co-committed-by: Glaeder <niklas@vousten.dev>
This commit is contained in:
parent
fa990bfadb
commit
a6d9e088ef
8 changed files with 195 additions and 59 deletions
|
@ -66,6 +66,9 @@ impl Default for Ghost {
|
|||
}
|
||||
#[repr(i32)]
|
||||
pub enum ZLayer {
|
||||
HumanLayer = -8,
|
||||
MagneticLayer = -5,
|
||||
ElectricLayer = -2,
|
||||
MapMax = -1,
|
||||
Human = 0,
|
||||
Ghost = 1
|
||||
|
@ -86,8 +89,10 @@ impl Sub<i32> for ZLayer {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn setup(_state: &mut State, ctx: &mut EngineContext<'_>) {
|
||||
pub fn setup(state: &mut State, ctx: &mut EngineContext<'_>) {
|
||||
Assets::load(ctx);
|
||||
|
||||
//house::setup(state, ctx);
|
||||
}
|
||||
|
||||
pub fn update(state: &mut State, engine: &mut EngineContext<'_>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue