Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using SnakeOOP1b.View;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SnakeOOP1b
- {
- class Application
- {
- private Timer timer;
- public void Bootstrap(object config = null)
- {
- this.timer = new Timer();
- Snake snake = new Snake(5);
- Input input = new Input();
- SnakeOOP1b.View.View view = new SnakeOOP1b.View.View();
- SnakeOOP1b.Controller.Controller controller = new SnakeOOP1b.Controller.Controller(view, snake,input, timer);
- }
- public void Run()
- {
- timer.Start();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement