Added initial game logic service
This commit is contained in:
13
game-logic-service/src/components/destination.rs
Normal file
13
game-logic-service/src/components/destination.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
#[derive(Debug)]
|
||||
struct Destination {
|
||||
pub x: f32,
|
||||
pub y: f32,
|
||||
pub z: f32,
|
||||
dest: u16,
|
||||
}
|
||||
|
||||
impl Default for Destination {
|
||||
fn default() -> Self {
|
||||
Self { x: 520000.0, y: 520000.0, z: 1.0, dest: 20 }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user