mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
Update lib/components/component.dart
Co-Authored-By: Luan Nico <luanpotter27@gmail.com>
This commit is contained in:
committed by
GitHub
parent
992e4ff69d
commit
f5519ddcd6
@ -57,8 +57,8 @@ abstract class Component {
|
||||
|
||||
/// Called when the component has been added and preperad by the game instance.
|
||||
///
|
||||
/// This can be used to make initializations on your component as when this method is called
|
||||
/// things like resize, and mixins are already set for the component.
|
||||
/// This can be used to make initializations on your component as, when this method is called,
|
||||
/// things like resize (and other mixins) are already set and usable.
|
||||
void onMount() {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user