mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
minor stuff
This commit is contained in:
parent
1454316ca8
commit
fd674011ad
2 changed files with 3 additions and 1 deletions
|
|
@ -115,8 +115,10 @@ class Settings {
|
|||
public static var isTouch:Option<Bool> = Option.None;
|
||||
|
||||
public static function applySettings() {
|
||||
#if hl
|
||||
Window.getInstance().resize(optionsSettings.screenWidth, optionsSettings.screenHeight);
|
||||
Window.getInstance().displayMode = optionsSettings.isFullScreen ? FullscreenResize : Windowed;
|
||||
#end
|
||||
AudioManager.updateVolumes();
|
||||
|
||||
MarbleGame.canvas.render(MarbleGame.canvas.scene2d);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ class Grid {
|
|||
|
||||
public var cellSize:Vector; // The dimensions of one cell
|
||||
|
||||
public static var CELL_DIV = new Vector(12, 12, 12); // split the bounds into cells of dimensions 1/16th of the corresponding dimensions of the bounds
|
||||
public var CELL_DIV = new Vector(12, 12, 12); // split the bounds into cells of dimensions 1/16th of the corresponding dimensions of the bounds
|
||||
|
||||
var map:Map<Int, Array<Int>> = new Map();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue