rust/lib-hedgewars-engine/src/instance.rs
changeset 15809 c3971b38bbfa
parent 15284 ae8e14d14596
equal deleted inserted replaced
15808:1fa2f38c5700 15809:c3971b38bbfa
    53     }
    53     }
    54 
    54 
    55     fn process_config_message(&mut self, message: &ConfigEngineMessage) {
    55     fn process_config_message(&mut self, message: &ConfigEngineMessage) {
    56         match message {
    56         match message {
    57             SetSeed(seed) => self.world.set_seed(seed.as_bytes()),
    57             SetSeed(seed) => self.world.set_seed(seed.as_bytes()),
       
    58             SetFeatureSize(feature_size) => self.world.set_feature_size(*feature_size),
    58             _ => unimplemented!(),
    59             _ => unimplemented!(),
    59         }
    60         }
    60     }
    61     }
    61 
    62 
    62     pub fn process_ipc_queue(&mut self) {
    63     pub fn process_ipc_queue(&mut self) {