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_resolutionPoint

Get the game resolution

Returns:



232
233
234
# File 'docs/000_a_root.rb', line 232

def game_resolution
  @game_resolution
end

#is_fullscreenBoolean

Is the game running in fullscreen

Returns:

  • (Boolean)


238
239
240
# File 'docs/000_a_root.rb', line 238

def is_fullscreen
  @is_fullscreen
end

#is_player_always_centeredBoolean

Is the player always centered on the screen

Returns:

  • (Boolean)


241
242
243
# File 'docs/000_a_root.rb', line 241

def is_player_always_centered
  @is_player_always_centered
end

#tilemap_settingsTilemapSettings

Get the tilemap settings

Returns:



244
245
246
# File 'docs/000_a_root.rb', line 244

def tilemap_settings
  @tilemap_settings
end

#window_scaleInteger

Get the default window scale

Returns:

  • (Integer)


235
236
237
# File 'docs/000_a_root.rb', line 235

def window_scale
  @window_scale
end