Class: Configs::Project::Display

Inherits:
Object
  • Object
show all
Defined in:
docs/000_a_root.rb

Overview

Display configuration of the project

Defined Under Namespace

Classes: Point, TilemapSettings

Instance Attribute Summary collapse

Instance Attribute Details

#game_resolution ⇒ Point

Get the game resolution

Returns:



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

Returns:

  • (Boolean)


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

Returns:

  • (Boolean)


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

Returns:



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

Returns:

  • (Integer)


128
129
130
# File 'docs/000_a_root.rb', line 128

def window_scale
  @window_scale
end