mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-03 20:36:31 +08:00
fix warning
This commit is contained in:
@ -81,7 +81,7 @@ abstract class BaseGame extends Game {
|
|||||||
@mustCallSuper
|
@mustCallSuper
|
||||||
void preAdd(Component c) {
|
void preAdd(Component c) {
|
||||||
if (debugMode() && c is PositionComponent) {
|
if (debugMode() && c is PositionComponent) {
|
||||||
(c as PositionComponent).debugMode = true;
|
c.debugMode = true;
|
||||||
}
|
}
|
||||||
// first time resize
|
// first time resize
|
||||||
if (size != null) {
|
if (size != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user