Class: Game_Actor
- Inherits:
-
Game_Battler
- Object
- Game_Battler
- Game_Actor
- Defined in:
- docs/00600_Script_RMXP.rb
Overview
Describe a player
Instance Attribute Summary collapse
-
#battler_name
readonly
Returns the value of attribute battler_name.
-
#character_hue
readonly
Returns the value of attribute character_hue.
-
#character_name
readonly
Returns the value of attribute character_name.
-
#exp
Returns the value of attribute exp.
-
#level
Returns the value of attribute level.
-
#name
Returns the value of attribute name.
-
#skills
readonly
Returns the value of attribute skills.
Attributes inherited from Game_Battler
#animation_hit, #animation_id, #battler_hue, #blink, #critical, #damage, #hidden, #hp, #sp, #states, #white_flash
Instance Method Summary collapse
-
#id ⇒ Integer
id of the Game_Actor in the database.
-
#index ⇒ Integer?
index of the Game_Actor in the $game_party.
-
#initialize(actor_id) ⇒ Game_Actor
constructor
Initialize a new Game_Actor.
-
#screen_x
deprecated
Deprecated.
will be removed.
-
#screen_y
deprecated
Deprecated.
will be removed.
-
#screen_z
deprecated
Deprecated.
will be removed.
-
#set_graphic(character_name, character_hue, battler_name, battler_hue)
Update the graphics of the Game_Actor.
-
#setup(actor_id)
setup the Game_Actor object.
Methods inherited from Game_Battler
#agi, #atk, #dead?, #dex, #eva, #exist?, #hit, #int, #mdef, #pdef, #str
Constructor Details
#initialize(actor_id) ⇒ Game_Actor
Initialize a new Game_Actor
197 198 |
# File 'docs/00600_Script_RMXP.rb', line 197 def initialize(actor_id) end |
Instance Attribute Details
#battler_name (readonly)
Returns the value of attribute battler_name.
191 192 193 |
# File 'docs/00600_Script_RMXP.rb', line 191 def battler_name @battler_name end |
#character_hue (readonly)
Returns the value of attribute character_hue.
190 191 192 |
# File 'docs/00600_Script_RMXP.rb', line 190 def character_hue @character_hue end |
#character_name (readonly)
Returns the value of attribute character_name.
189 190 191 |
# File 'docs/00600_Script_RMXP.rb', line 189 def character_name @character_name end |
#exp
Returns the value of attribute exp.
193 194 195 |
# File 'docs/00600_Script_RMXP.rb', line 193 def exp @exp end |
#level
Returns the value of attribute level.
192 193 194 |
# File 'docs/00600_Script_RMXP.rb', line 192 def level @level end |
#name
Returns the value of attribute name.
188 189 190 |
# File 'docs/00600_Script_RMXP.rb', line 188 def name @name end |
#skills (readonly)
Returns the value of attribute skills.
194 195 196 |
# File 'docs/00600_Script_RMXP.rb', line 194 def skills @skills end |
Instance Method Details
#id ⇒ Integer
id of the Game_Actor in the database
205 206 |
# File 'docs/00600_Script_RMXP.rb', line 205 def id end |
#index ⇒ Integer?
index of the Game_Actor in the $game_party.
209 210 |
# File 'docs/00600_Script_RMXP.rb', line 209 def index end |
#screen_x
will be removed.
229 230 |
# File 'docs/00600_Script_RMXP.rb', line 229 def screen_x end |
#screen_y
will be removed.
232 233 |
# File 'docs/00600_Script_RMXP.rb', line 232 def screen_y end |
#screen_z
will be removed.
235 236 |
# File 'docs/00600_Script_RMXP.rb', line 235 def screen_z end |
#set_graphic(character_name, character_hue, battler_name, battler_hue)
Update the graphics of the Game_Actor
226 227 |
# File 'docs/00600_Script_RMXP.rb', line 226 def set_graphic(character_name, character_hue, battler_name, battler_hue) end |
#setup(actor_id)
setup the Game_Actor object
201 202 |
# File 'docs/00600_Script_RMXP.rb', line 201 def setup(actor_id) end |