Add Setter Function to VariableRender Interface
This commit is contained in:
parent
1c3264f33c
commit
08c7e8ac1d
3 changed files with 18 additions and 5 deletions
|
|
@ -3,10 +3,11 @@ import 'package:browserloop/game/Game.dart';
|
|||
abstract class LoopExample {
|
||||
Game game;
|
||||
|
||||
void stop() {}
|
||||
void start() {}
|
||||
void stop();
|
||||
|
||||
void start();
|
||||
}
|
||||
|
||||
abstract class VariableUpdates {
|
||||
double MS_PER_UPDATE = 300.0;
|
||||
void setUpdates(double updateRate);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue