PurplePen.EventDB.EventDB C# (CSharp) 메소드

EventDB() 공개 메소드

public EventDB ( UndoMgr undomgr ) : System
undomgr UndoMgr
리턴 System
        public EventDB(UndoMgr undomgr)
        {
            controlPointStore = new ObjectStore<ControlPoint>(undomgr);
            courseStore = new ObjectStore<Course>(undomgr);
            courseControlStore = new ObjectStore<CourseControl>(undomgr);
            eventStore = new ObjectStore<Event>(undomgr);
            specialStore = new ObjectStore<Special>(undomgr);
            legStore = new ObjectStore<Leg>(undomgr);

            random = (long) (rand.NextDouble() * long.MaxValue / 2);
        }