コード例 #1
0
ファイル: action.py プロジェクト: bogolt/dclord
	def perform(self):
		store.command_move_unit_to_fleet(self.unit_id, self.fleet_id)
コード例 #2
0
ファイル: action.py プロジェクト: bogolt/dclord
	def revert(self):
		if self.fleet_unit:
			store.command_move_unit_to_fleet(self.unit_id, self.fleet_unit['fleet_id'])
		elif self.garrison_unit:
			store.command_move_unit_to_garrison(self.unit_id, (self.garrison_unit['x'],self.garrison_unit['y']) )