generated from tipragot/rust
Add a rendering system using temporary images #61
|
@ -2,17 +2,14 @@
|
|||
|
||||
use bevy::prelude::*;
|
||||
use border_wars::camera::CameraPlugin;
|
||||
use border_wars::map::generation::MapGenerationPlugin;
|
||||
use border_wars::map::renderer::RendererPlugin;
|
||||
use border_wars::scenes::ScenesPlugin;
|
||||
|
||||
|
||||
fn main() {
|
||||
App::new()
|
||||
.add_plugins(DefaultPlugins)
|
||||
.add_plugins(ScenesPlugin)
|
||||
.add_plugins(RendererPlugin)
|
||||
.add_plugins(MapGenerationPlugin)
|
||||
.add_plugins(CameraPlugin)
|
||||
.run();
|
||||
}
|
||||
|
|
|
@ -47,7 +47,10 @@ impl Tile {
|
|||
x: 1250.0,
|
||||
y: 1000.0,
|
||||
},
|
||||
Self::Hill => Vec2 { x: 1250.0, y: 1300.0 },
|
||||
Self::Hill => Vec2 {
|
||||
x: 1250.0,
|
||||
y: 1300.0,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue