Saving world to file
This commit is contained in:
+8
-3
@@ -1,8 +1,13 @@
|
||||
use super::camera_controller::CameraController;
|
||||
|
||||
struct Player {
|
||||
camera_controller: CameraController
|
||||
pub struct Player {
|
||||
pub camera_controller: CameraController
|
||||
}
|
||||
|
||||
impl Player {
|
||||
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
camera_controller: CameraController::new()
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user