public void Init() { running = false; calibrated = false; configs = new LocConfigs(); posCarA = new Point2i(); posCarB = new Point2i(); showSize = new OpenCvSharp.Size(640, 480); cameraSize = new OpenCvSharp.Size(1280, 960); logicSize = new OpenCvSharp.Size(270, 270); clickCount = 0; posPassengerStart = new Point2i[Game.MaxPassenger]; posPassengerEnd = new Point2i[Game.MaxPassenger]; passengerState = new Camp[Game.MaxPassenger]; }
public void Init() { showMask = false; running = false; calibrated = false; videomode = false; configs = new LocConfigs(); posBalls = new Point2i[0]; posCarA = new Point2i(); posCarB = new Point2i(); showSize = new OpenCvSharp.Size(960, 720); cameraSize = new OpenCvSharp.Size(1280, 960); logicSize = new OpenCvSharp.Size(Game.MaxSize, Game.MaxSize); clickCount = 0; posPersonStart = new Point2i[Game.MaxPersonNum]; }