#==============================================================================
# ■ Game_City
#------------------------------------------------------------------------------
# 城池的类。这个类的实例请参考
# $game_city 。
#==============================================================================
class Game_City
#--------------------------------------------------------------------------
# ● 定义实例变量
#--------------------------------------------------------------------------
attr_accessor :attribution # 城池归属
attr_accessor :city_name # 城池名
attr_accessor :city_farm # 城池农业
attr_accessor :city_shop # 城池商业
attr_accessor :city_tech # 城池技术
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize(city_id)
super()
setup(city_id)
end
#--------------------------------------------------------------------------
# ● 设置
# city_id : 城池 ID
#--------------------------------------------------------------------------
def setup(city_id)
#city =
#@attribution = $game_actors[2].name
@city_name = "城池"
@city_farm = 0
@city_shop = 0
@city_tech = 0
end
end