Initial commit and progress blocking out
This commit is contained in:
11
src/storage/interface.rs
Normal file
11
src/storage/interface.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use crate::storage::world::{BlockID, BlockPos};
|
||||
|
||||
enum StorageInterface {
|
||||
/// `ChangeBlock` changes the block at the world position given by `world_position` to the
|
||||
/// target block id `BlockID`
|
||||
ChangeBlock {
|
||||
target_state: BlockID,
|
||||
world_position: BlockPos,
|
||||
},
|
||||
ChangeBlockRange(BlockID, BlockPos, BlockPos),
|
||||
}
|
||||
Reference in New Issue
Block a user