Class: Configs::Project::Texts::Font
- Defined in:
- scripts/00021 ProjectConfig.rb
Overview
Font configuration
Instance Attribute Summary collapse
-
#alt_sizes ⇒ Array<Hash>
readonly
Get all the alt size the game uses.
-
#supports_pokemon_number ⇒ Boolean
readonly
Is the game supporting the pokemon number feature.
-
#ttf_files ⇒ Array<Hash>
readonly
Get all the ttf files the game uses.
Instance Method Summary collapse
-
#initialize(v) ⇒ Font
constructor
A new instance of Font.
Constructor Details
#initialize(v) ⇒ Font
Returns a new instance of Font.
163 164 165 166 167 |
# File 'scripts/00021 ProjectConfig.rb', line 163 def initialize(v) @supports_pokemon_number = v[:isSupportsPokemonNumber] @ttf_files = v[:ttfFiles] @alt_sizes = v[:altSizes] end |
Instance Attribute Details
#alt_sizes ⇒ Array<Hash> (readonly)
Get all the alt size the game uses
161 162 163 |
# File 'scripts/00021 ProjectConfig.rb', line 161 def alt_sizes @alt_sizes end |
#supports_pokemon_number ⇒ Boolean (readonly)
Is the game supporting the pokemon number feature
153 154 155 |
# File 'scripts/00021 ProjectConfig.rb', line 153 def supports_pokemon_number @supports_pokemon_number end |
#ttf_files ⇒ Array<Hash> (readonly)
Get all the ttf files the game uses
157 158 159 |
# File 'scripts/00021 ProjectConfig.rb', line 157 def ttf_files @ttf_files end |