Struct neko::graphic::Graphic []

pub struct Graphic { /* fields omitted */ }

Methods

impl Graphic

The method explicite_emotion returns the sprite modified by a list of emotion.

The constructor new returns a Graphic prepared with the texel and sprite root.

The accessor method get_nct returns the texel sub-directory.

The accessor method get_ncs returns the sprite sub-directory.

The accessor method nct_with_ncs returns a couple of texel and sprite sub-repositories.

The accessor method get_emotion_list returns a list of available emotions for the Sheet key and Part sub-key.

The accessor method get_texel returns a reference on texel.

The accessor method get_sprite returns a reference on sprite.

The function from_file_texel insert a texel from a file.

The function from_file_sprite insert a sprite from a file.

The mutator method add_position changes the position of the file sprite cursor.

The mutator method sub_position changes the position of the file sprite cursor.

The mutator method add_position_sprite_draw changes the position of the cell board cursor.

The mutator method sub_position_sprite_draw changes the position of the cell board cursor.

The accessor method get_sprite returns a reference on sprite.

Trait Implementations

impl Debug for Graphic

Formats the value using the given formatter.

impl Default for Graphic

A trait for giving a type a useful default value.

The constructor default returns a empty Graphic.

impl Clone for Graphic

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more