Advertisement
wingman007

SnakeOOPFinal_Application

Oct 27th, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.68 KB | None | 0 0
  1. using SnakeOOP1b.View;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7.  
  8. namespace SnakeOOP1b
  9. {
  10.     class Application
  11.     {
  12.         private Timer timer;
  13.         public void Bootstrap(object config = null)
  14.         {
  15.            this.timer = new Timer();
  16.            Snake snake = new Snake(5);
  17.            Input input = new Input();
  18.            SnakeOOP1b.View.View view = new SnakeOOP1b.View.View();
  19.            SnakeOOP1b.Controller.Controller controller = new SnakeOOP1b.Controller.Controller(view, snake,input, timer);
  20.         }
  21.  
  22.         public void Run()
  23.         {
  24.             timer.Start();
  25.         }
  26.     }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement