From 027db7e2470db0b5f6b506e9542683070dc02a75 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Tue, 16 Feb 2016 18:04:04 +0100 Subject: [PATCH] watersim: renamed class --- water_sim.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/water_sim.py b/water_sim.py index 5f4385e..199da08 100644 --- a/water_sim.py +++ b/water_sim.py @@ -2,12 +2,12 @@ from game import * -class Sim(Game): +class WaterSim(Game): def __init__(self,N): self.N = N self.init_data(N//2) self.mousepos = (0,0) - super(Sim, self).__init__( 1000, 600, 120) + super(WaterSim, self).__init__( 1000, 600, 120) def init_data(self, middle): self.C = [50] * self.N @@ -60,4 +60,4 @@ class Sim(Game): prev_point = new_point if __name__ == '__main__': - Sim(100).on_execute() + WaterSim(100).on_execute()