Class: RPG::Actor
Instance Attribute Summary collapse
-
#character_index ⇒ Object
Returns the value of attribute character_index.
-
#character_name ⇒ Object
Returns the value of attribute character_name.
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#equips ⇒ Object
Returns the value of attribute equips.
-
#face_index ⇒ Object
Returns the value of attribute face_index.
-
#face_name ⇒ Object
Returns the value of attribute face_name.
-
#initial_level ⇒ Object
Returns the value of attribute initial_level.
-
#max_level ⇒ Object
Returns the value of attribute max_level.
-
#nickname ⇒ Object
Returns the value of attribute nickname.
Attributes inherited from BaseItem
#description, #features, #icon_index, #id, #name, #note
Instance Method Summary collapse
-
#initialize ⇒ Actor
constructor
A new instance of Actor.
Constructor Details
#initialize ⇒ Actor
Returns a new instance of Actor.
665 666 667 668 669 670 671 672 673 674 675 676 |
# File 'lib/R3EXS/RGSS3.rb', line 665 def initialize super @nickname = '' @class_id = 1 @initial_level = 1 @max_level = 99 @character_name = '' @character_index = 0 @face_name = '' @face_index = 0 @equips = [0, 0, 0, 0, 0] end |
Instance Attribute Details
#character_index ⇒ Object
Returns the value of attribute character_index.
683 684 685 |
# File 'lib/R3EXS/RGSS3.rb', line 683 def character_index @character_index end |
#character_name ⇒ Object
Returns the value of attribute character_name.
682 683 684 |
# File 'lib/R3EXS/RGSS3.rb', line 682 def character_name @character_name end |
#class_id ⇒ Object
Returns the value of attribute class_id.
679 680 681 |
# File 'lib/R3EXS/RGSS3.rb', line 679 def class_id @class_id end |
#equips ⇒ Object
Returns the value of attribute equips.
686 687 688 |
# File 'lib/R3EXS/RGSS3.rb', line 686 def equips @equips end |
#face_index ⇒ Object
Returns the value of attribute face_index.
685 686 687 |
# File 'lib/R3EXS/RGSS3.rb', line 685 def face_index @face_index end |
#face_name ⇒ Object
Returns the value of attribute face_name.
684 685 686 |
# File 'lib/R3EXS/RGSS3.rb', line 684 def face_name @face_name end |
#initial_level ⇒ Object
Returns the value of attribute initial_level.
680 681 682 |
# File 'lib/R3EXS/RGSS3.rb', line 680 def initial_level @initial_level end |
#max_level ⇒ Object
Returns the value of attribute max_level.
681 682 683 |
# File 'lib/R3EXS/RGSS3.rb', line 681 def max_level @max_level end |
#nickname ⇒ Object
Returns the value of attribute nickname.
678 679 680 |
# File 'lib/R3EXS/RGSS3.rb', line 678 def nickname @nickname end |