コード例 #1
0
        public LessonStage(ShapeActionFactory shapeActionFactory)
        {
            m_ShapeActionFactory = shapeActionFactory;
            m_ShapeActions       = new List <ShapeAction>();

            OnDeserialized();
        }
コード例 #2
0
 public void SetShapeActionFactory(ShapeActionFactory shapeActionFactory)
 {
     m_ShapeActionFactory = shapeActionFactory;
     foreach (LessonStage lessonStage in m_LessonStages)
     {
         lessonStage.SetShapeActionFactory(m_ShapeActionFactory);
     }
 }
コード例 #3
0
        public LessonData()
        {
            m_ShapeDataFactory      = new ShapeDataFactory();
            m_ShapeBlueprintFactory = new ShapeBlueprintFactory(m_ShapeDataFactory);

            m_ShapeActionFactory = new ShapeActionFactory(m_ShapeDataFactory);
            m_LessonStageFactory = new LessonStageFactory(m_ShapeActionFactory);

            OnDeserialized();
        }
コード例 #4
0
 public void SetShapeActionFactory(ShapeActionFactory shapeActionFactory)
 {
     m_ShapeActionFactory = shapeActionFactory;
 }
コード例 #5
0
 public LessonStageFactory(ShapeActionFactory shapeActionFactory)
 {
     m_ShapeActionFactory = shapeActionFactory;
     m_LessonStages       = new List <LessonStage>();
 }