mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 12:28:03 +08:00
Update lib/components/component.dart
Co-Authored-By: Luan Nico <luanpotter27@gmail.com>
This commit is contained in:
committed by
GitHub
parent
9130a3de53
commit
992e4ff69d
@ -55,7 +55,7 @@ abstract class Component {
|
||||
/// If two components share the same priority, they will probably be drawn in the order they were added.
|
||||
int priority() => 0;
|
||||
|
||||
/// Called when the component has been added and preperad by the game instance
|
||||
/// 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.
|
||||
|
||||
Reference in New Issue
Block a user