Struct amethyst_ui::UiButtonSystem[][src]

pub struct UiButtonSystem { /* fields omitted */ }

This system manages button mouse events. It changes images and text colors, as well as playing audio when necessary.

It's automatically registered with the UiBundle.

Methods

impl UiButtonSystem
[src]

Creates a new instance of this structure

Trait Implementations

impl Default for UiButtonSystem
[src]

Returns the "default value" for a type. Read more

impl<'s> System<'s> for UiButtonSystem
[src]

The resource bundle required to execute this system. Read more

Sets up the Resources using Self::SystemData::setup.

Executes the system with the required system data. Read more

Returns a hint how long the system needs for running. This is used to optimize the way they're executed (might allow more parallelization). Read more

Return the accessor from the SystemData.

Auto Trait Implementations