diff options
Diffstat (limited to 'pixel-client/src')
-rw-r--r-- | pixel-client/src/game.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pixel-client/src/game.rs b/pixel-client/src/game.rs index 29b1ba30..dca84d77 100644 --- a/pixel-client/src/game.rs +++ b/pixel-client/src/game.rs @@ -29,7 +29,7 @@ use hurrycurry_client_lib::{network::sync::Network, spatial_index::SpatialIndex} use hurrycurry_protocol::{ glam::{IVec2, Vec2}, movement::MovementBase, - ClientGamedata, ItemIndex, ItemLocation, PacketC, PacketS, PlayerID, Score, TileIndex, + Gamedata, ItemIndex, ItemLocation, PacketC, PacketS, PlayerID, Score, TileIndex, }; use log::{info, warn}; use sdl2::{ @@ -41,7 +41,7 @@ use std::collections::{HashMap, HashSet}; pub struct Game { network: Network, - data: ClientGamedata, + data: Gamedata, tiles: HashMap<IVec2, Tile>, tilemap: Tilemap, walkable: HashSet<IVec2>, @@ -94,7 +94,7 @@ impl Game { players: HashMap::new(), tilemap: Tilemap::default(), my_id: PlayerID(0), - data: ClientGamedata::default(), + data: Gamedata::default(), walkable: HashSet::new(), movement_send_cooldown: 0., misc_textures: MiscTextures::init(layout), |