Struct brawllib_rs::high_level_fighter::HighLevelFighter
source · pub struct HighLevelFighter {
pub name: String,
pub attributes: FighterAttributes,
pub actions: Vec<HighLevelAction>,
pub ledge_grabs: Vec<LedgeGrab>,
pub fragment_scripts: Vec<ScriptAst>,
}
Expand description
The HighLevelFighter stores processed Fighter data in a format that is easy to read from. If brawllib_rs eventually implements the ability to modify character files via modifying Fighter and its children, then HighLevelFighter WILL NOT support that.
Fields§
§name: String
§attributes: FighterAttributes
§actions: Vec<HighLevelAction>
§ledge_grabs: Vec<LedgeGrab>
§fragment_scripts: Vec<ScriptAst>
Implementations§
source§impl HighLevelFighter
impl HighLevelFighter
sourcepub fn new(fighter: &Fighter) -> HighLevelFighter
pub fn new(fighter: &Fighter) -> HighLevelFighter
Processes data from an &Fighter and stores it in a HighLevelFighter
Trait Implementations§
source§impl Clone for HighLevelFighter
impl Clone for HighLevelFighter
source§fn clone(&self) -> HighLevelFighter
fn clone(&self) -> HighLevelFighter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more