allow creating scenes and setting scene visibility to players
This commit is contained in:
parent
fb5f69850c
commit
668bef6a88
3 changed files with 58 additions and 5 deletions
|
@ -48,6 +48,17 @@ pub enum Request {
|
|||
amount: usize,
|
||||
},
|
||||
// Map requests
|
||||
CreateScene {
|
||||
title: String,
|
||||
},
|
||||
SceneSetGrid {
|
||||
grid_cell_size: f32,
|
||||
grid_offset: [f32; 2],
|
||||
},
|
||||
SceneSetVisible {
|
||||
scene: usize,
|
||||
visible: bool,
|
||||
},
|
||||
GetScene {
|
||||
id: usize,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue