Class: RPG::Actor

Inherits:
BaseItem show all
Defined in:
lib/R3EXS/RGSS3.rb

Instance Attribute Summary collapse

Attributes inherited from BaseItem

#description, #features, #icon_index, #id, #name, #note

Instance Method Summary collapse

Constructor Details

#initializeActor

Returns a new instance of Actor.



643
644
645
646
647
648
649
650
651
652
653
654
# File 'lib/R3EXS/RGSS3.rb', line 643

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_indexObject

Returns the value of attribute character_index.



661
662
663
# File 'lib/R3EXS/RGSS3.rb', line 661

def character_index
  @character_index
end

#character_nameObject

Returns the value of attribute character_name.



660
661
662
# File 'lib/R3EXS/RGSS3.rb', line 660

def character_name
  @character_name
end

#class_idObject

Returns the value of attribute class_id.



657
658
659
# File 'lib/R3EXS/RGSS3.rb', line 657

def class_id
  @class_id
end

#equipsObject

Returns the value of attribute equips.



664
665
666
# File 'lib/R3EXS/RGSS3.rb', line 664

def equips
  @equips
end

#face_indexObject

Returns the value of attribute face_index.



663
664
665
# File 'lib/R3EXS/RGSS3.rb', line 663

def face_index
  @face_index
end

#face_nameObject

Returns the value of attribute face_name.



662
663
664
# File 'lib/R3EXS/RGSS3.rb', line 662

def face_name
  @face_name
end

#initial_levelObject

Returns the value of attribute initial_level.



658
659
660
# File 'lib/R3EXS/RGSS3.rb', line 658

def initial_level
  @initial_level
end

#max_levelObject

Returns the value of attribute max_level.



659
660
661
# File 'lib/R3EXS/RGSS3.rb', line 659

def max_level
  @max_level
end

#nicknameObject

Returns the value of attribute nickname.



656
657
658
# File 'lib/R3EXS/RGSS3.rb', line 656

def nickname
  @nickname
end