Class: Configs::Project::Display
- Defined in:
- scripts/00021 ProjectConfig.rb
Overview
Display configuration of the project
Defined Under Namespace
Classes: Point, TilemapSettings
Instance Attribute Summary collapse
-
#game_resolution ⇒ Point
Get the game resolution.
-
#is_fullscreen ⇒ Boolean
Is the game running in fullscreen.
-
#is_player_always_centered ⇒ Boolean
Is the player always centered on the screen.
-
#tilemap_settings ⇒ TilemapSettings
Get the tilemap settings.
-
#window_scale ⇒ Integer
Get the default window scale.
Instance Attribute Details
#game_resolution ⇒ Point
Get the game resolution
19 20 21 |
# File 'scripts/00021 ProjectConfig.rb', line 19 def game_resolution @game_resolution end |
#is_fullscreen ⇒ Boolean
Is the game running in fullscreen
27 28 29 |
# File 'scripts/00021 ProjectConfig.rb', line 27 def is_fullscreen @is_fullscreen end |
#is_player_always_centered ⇒ Boolean
Is the player always centered on the screen
31 32 33 |
# File 'scripts/00021 ProjectConfig.rb', line 31 def is_player_always_centered @is_player_always_centered end |
#tilemap_settings ⇒ TilemapSettings
Get the tilemap settings
35 36 37 |
# File 'scripts/00021 ProjectConfig.rb', line 35 def tilemap_settings @tilemap_settings end |
#window_scale ⇒ Integer
Get the default window scale
23 24 25 |
# File 'scripts/00021 ProjectConfig.rb', line 23 def window_scale @window_scale end |