public MainWindow() { InitializeComponent(); player = new Player(); timer1 = new Timer(); timer1.Interval = 50; timer1.Tick += new EventHandler(timer1_Tick); timer2 = new Timer(); timer2.Interval = 1000; timer2.Tick += new EventHandler(timer2_Tick); }
public CoreAPI() { player = new Player(); }