#!/usr/bin/python from core.event import EventDispatcher from core.view import SDLView from core.controller import KeyboardController, CPUIdler from core.model import Environment from balls.model import Ball, BallSimulation from balls.controller import BallController # Event dispatcher disp = EventDispatcher() # View v = SDLView(disp, w=274, h=274, zoom=1) # Models s = BallSimulation(disp, env=Environment(disp, 25, 25), ball_count=20) # Controllers k = KeyboardController(disp) c = CPUIdler(disp) bc = BallController(disp) c.idle()