Saving world to file

This commit is contained in:
Piotrek
2021-05-08 18:42:32 +02:00
parent 989b75f54d
commit 547f66d214
8 changed files with 130 additions and 29 deletions
+8 -3
View File
@@ -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()
}
}
}