예제 #1
0
        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);
        }
예제 #2
0
        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);
        }