Added scripts
This commit is contained in:
parent
d40ae86ba4
commit
5118df09f4
106 changed files with 15680 additions and 0 deletions
28
scripts/Window_SkillStatus.rb
Normal file
28
scripts/Window_SkillStatus.rb
Normal file
|
@ -0,0 +1,28 @@
|
|||
#==============================================================================
|
||||
# ** Window_SkillStatus
|
||||
#------------------------------------------------------------------------------
|
||||
# This window displays the skill user's status on the skill screen.
|
||||
#==============================================================================
|
||||
|
||||
class Window_SkillStatus < Window_Base
|
||||
#--------------------------------------------------------------------------
|
||||
# * Object Initialization
|
||||
# actor : actor
|
||||
#--------------------------------------------------------------------------
|
||||
def initialize(actor)
|
||||
super(0, 64, 640, 64)
|
||||
self.contents = Bitmap.new(width - 32, height - 32)
|
||||
@actor = actor
|
||||
refresh
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# * Refresh
|
||||
#--------------------------------------------------------------------------
|
||||
def refresh
|
||||
self.contents.clear
|
||||
draw_actor_name(@actor, 4, 0)
|
||||
draw_actor_state(@actor, 140, 0)
|
||||
draw_actor_hp(@actor, 284, 0)
|
||||
draw_actor_sp(@actor, 460, 0)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue