macro_rules! generate_common_methods {
() => { ... };
}Expand description
Generates common methods for a struct.
This macro generates the following methods:
new: Creates a new instance of the struct with the givenMapParameters.into_inner: Consumes the struct and returns the innerTileMap.tile_map_mut: Provides a mutable reference to the innerTileMap.