2005-12-13から1日間の記事一覧
とりあえず、Pythonのソースコードだけ。 解説は後日にて…。 class Task: """ タスク """ def __init__(self, name, x=0, dx=0): """ コンストラクタ """ self.name = name self.x = x self.dx = dx def update(self): """ 更新 """ self.x += self.dx if(se…
とりあえず、Pythonのソースコードだけ。 解説は後日にて…。 class Task: """ タスク """ def __init__(self, name, x=0, dx=0): """ コンストラクタ """ self.name = name self.x = x self.dx = dx def update(self): """ 更新 """ self.x += self.dx if(se…