Class: Configs::Project::Display
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
125 126 127 |
# File 'docs/000_a_root.rb', line 125 def game_resolution @game_resolution end |
#is_fullscreen ⇒ Boolean
Is the game running in fullscreen
131 132 133 |
# File 'docs/000_a_root.rb', line 131 def is_fullscreen @is_fullscreen end |
#is_player_always_centered ⇒ Boolean
Is the player always centered on the screen
134 135 136 |
# File 'docs/000_a_root.rb', line 134 def is_player_always_centered @is_player_always_centered end |
#tilemap_settings ⇒ TilemapSettings
Get the tilemap settings
137 138 139 |
# File 'docs/000_a_root.rb', line 137 def tilemap_settings @tilemap_settings end |
#window_scale ⇒ Integer
Get the default window scale
128 129 130 |
# File 'docs/000_a_root.rb', line 128 def window_scale @window_scale end |