public HexyWorldViewModel(ServotorEmulator servotor) { this.servotor = servotor; hexy = new Hexy(); servotor.Update += servotor_Update; Visuals = new ObservableCollection<Visual3D>(); Visuals.Add(new SunLight()); Visuals.Add(hexy); }
public HexyWorldViewModel(ServotorEmulator servotor) { this.servotor = servotor; hexy = new Hexy(); servotor.Update += servotor_Update; Visuals = new ObservableCollection <Visual3D>(); Visuals.Add(new SunLight()); Visuals.Add(hexy); }