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()