Class: PFM::Storage::Box
Overview
Class responsive of storing various thing and holding some information about the storage
Instance Attribute Summary collapse
-
#content ⇒ Array<PFM::Pokemon>
readonly
Content of the storage.
-
#name ⇒ String
Name of the storage.
-
#theme ⇒ Integer
Theme of the storage.
Instance Method Summary collapse
-
#initialize(box_size, name, theme, content_overload = nil) ⇒ Box
constructor
Create a new box.
Constructor Details
#initialize(box_size, name, theme, content_overload = nil) ⇒ Box
Create a new box
175 176 |
# File 'docs/4_Systems_200_Storage.rb', line 175 def initialize(box_size, name, theme, content_overload = nil) end |
Instance Attribute Details
#content ⇒ Array<PFM::Pokemon> (readonly)
Content of the storage
169 170 171 |
# File 'docs/4_Systems_200_Storage.rb', line 169 def content @content end |
#name ⇒ String
Name of the storage
163 164 165 |
# File 'docs/4_Systems_200_Storage.rb', line 163 def name @name end |
#theme ⇒ Integer
Theme of the storage
166 167 168 |
# File 'docs/4_Systems_200_Storage.rb', line 166 def theme @theme end |