def draw_actor_zhongzu(actor, x, y)
# 文本内容
text = "Graphics/Pictures/图片显示/头像/种族/"
# 种族分歧
case actor.zhongzu
# 人族
when "人"; facename = text + "人"
# 仙族
when "仙"; facename = text + "仙"
# 妖族
when "妖"; facename = text + "妖"
# 兽族
when "兽"; facename = text + "兽"
# 巫族
when "巫"; facename = text + "巫"
# 鬼族
when "鬼"; facename = text + "鬼"
end
bitmap = Bitmap.new(facename)
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
self.contents.blt(x, y, bitmap, src_rect)
self.z = 9999
end
def draw_actor_zhongzu(actor, x, y)
# 文本内容
text = "Graphics/Pictures/图片显示/头像/种族/"
# 种族分歧
case actor.zhongzu
# 人族
when "人"; facename = text + "人"
# 仙族
when "仙"; facename = text + "仙"
# 妖族
when "妖"; facename = text + "妖"
# 兽族
when "兽"; facename = text + "兽"
# 巫族
when "巫"; facename = text + "巫"
# 鬼族
when "鬼"; facename = text + "鬼"
end
bitmap = Bitmap.new(facename)
src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
self.contents.blt(x, y, bitmap, src_rect)
self.z = 9999
end
# 文本内容
text = "Graphics/Pictures/图片显示/头像/种族/"
# 种族分歧
case actor.zhongzu
# 人族
when "人"; facename = text + "人"
# 仙族
when "仙"; facename = text + "仙"
# 妖族
when "妖"; facename = text + "妖"
# 兽族
when "兽"; facename = text + "兽"
# 巫族
when "巫"; facename = text + "巫"
# 鬼族
when "鬼"; facename = text + "鬼"
else
# 无族
facename = text + "无"
end
# 文本内容
text = "Graphics/Pictures/图片显示/头像/种族/"
# 种族分歧
case actor.zhongzu
# 人族
when "人"; facename = text + "人"
# 仙族
when "仙"; facename = text + "仙"
# 妖族
when "妖"; facename = text + "妖"
# 兽族
when "兽"; facename = text + "兽"
# 巫族
when "巫"; facename = text + "巫"
# 鬼族
when "鬼"; facename = text + "鬼"
else
# 无族
facename = text + "无"
end