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
232 233 234 |
# File 'docs/000_a_root.rb', line 232 def game_resolution @game_resolution end |
#is_fullscreen ⇒ Boolean
Is the game running in fullscreen
238 239 240 |
# File 'docs/000_a_root.rb', line 238 def is_fullscreen @is_fullscreen end |
#is_player_always_centered ⇒ Boolean
Is the player always centered on the screen
241 242 243 |
# File 'docs/000_a_root.rb', line 241 def is_player_always_centered @is_player_always_centered end |
#tilemap_settings ⇒ TilemapSettings
Get the tilemap settings
244 245 246 |
# File 'docs/000_a_root.rb', line 244 def tilemap_settings @tilemap_settings end |
#window_scale ⇒ Integer
Get the default window scale
235 236 237 |
# File 'docs/000_a_root.rb', line 235 def window_scale @window_scale end |