rpg 0.0.2

A very basic RPG engine written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// A playable level
pub trait LevelKind {
    /// The type of the position in the level
    type Position;

    /// Return the position of the player in the level
    fn get_position(&self) -> Self::Position;

    /// Returns whether the player fulfilled all goals of the level
    fn is_finished(&self) -> bool;
}