initial level selection gui

This commit is contained in:
Crispy 2024-10-06 12:39:36 +02:00
parent 66c9b10264
commit ed5084d0fd
11 changed files with 413 additions and 29 deletions

View file

@ -10,7 +10,7 @@ pub struct Pos {
}
impl Pos {
pub const fn to_vec(&self) -> Vector2 {
pub const fn to_vec(self) -> Vector2 {
Vector2 {
x: self.x as f32,
y: self.y as f32,