Class: Configs::Project::Display

Inherits:
Object
  • Object
show all
Defined in:
scripts/00021 ProjectConfig.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:



19
20
21
# File 'scripts/00021 ProjectConfig.rb', line 19

def game_resolution
  @game_resolution
end

#is_fullscreenBoolean

Is the game running in fullscreen

Returns:

  • (Boolean)


27
28
29
# File 'scripts/00021 ProjectConfig.rb', line 27

def is_fullscreen
  @is_fullscreen
end

#is_player_always_centeredBoolean

Is the player always centered on the screen

Returns:

  • (Boolean)


31
32
33
# File 'scripts/00021 ProjectConfig.rb', line 31

def is_player_always_centered
  @is_player_always_centered
end

#tilemap_settingsTilemapSettings

Get the tilemap settings

Returns:



35
36
37
# File 'scripts/00021 ProjectConfig.rb', line 35

def tilemap_settings
  @tilemap_settings
end

#window_scaleInteger

Get the default window scale

Returns:



23
24
25
# File 'scripts/00021 ProjectConfig.rb', line 23

def window_scale
  @window_scale
end