During research I try to compile examples and receive next error:
|
6 | pub use orbtk::api::Application as Game;
| ^^^ could not find `api` in `orbtk`
error[E0432]: unresolved import `orbtk::api`
--> ~/.cargo/git/checkouts/orbgame-3084caa932166481/086c63b/crates/api/src/lib.rs:7:16
|
7 | pub use orbtk::api::*;
| ^^^ could not find `api` in `orbtk`
error[E0405]: cannot find trait `RenderObject` in this scope
--> ~/.cargo/git/checkouts/orbgame-3084caa932166481/086c63b/crates/api/src/render_object/tile_map.rs:41:19
|
41 | impl Into<Box<dyn RenderObject>> for TileMapRenderObject {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
1 | use orbtk::prelude::RenderObject;
|
...
Could you please provide work example?