Creating classes and interfaces, defining project structure
This commit is contained in:
6
ADEPT-Godot/Core/Scripts/Lesson/BasePageComponent.cs
Normal file
6
ADEPT-Godot/Core/Scripts/Lesson/BasePageComponent.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace ADEPT.Core.Lesson;
|
||||
|
||||
public class BasePageComponent : IPageComponent
|
||||
{
|
||||
|
||||
}
|
||||
6
ADEPT-Godot/Core/Scripts/Lesson/Lesson.cs
Normal file
6
ADEPT-Godot/Core/Scripts/Lesson/Lesson.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace ADEPT.Core.Lesson;
|
||||
|
||||
public class Lesson : ILesson
|
||||
{
|
||||
|
||||
}
|
||||
18
ADEPT-Godot/Core/Scripts/Lesson/LessonHandler.cs
Normal file
18
ADEPT-Godot/Core/Scripts/Lesson/LessonHandler.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Cogwheel;
|
||||
|
||||
namespace ADEPT.Core.Lesson;
|
||||
|
||||
public class LessonHandler : ILessonHandler
|
||||
{
|
||||
public ILesson loadLesson(string lessonName)
|
||||
{
|
||||
var path = $"{ADEPT.Constants.DefaultLessonPath}{lessonName}{ADEPT.Constants.DefaultLessonFileExtension}";
|
||||
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void saveLesson(ILesson lesson, string lessonName)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
6
ADEPT-Godot/Core/Scripts/Lesson/Page.cs
Normal file
6
ADEPT-Godot/Core/Scripts/Lesson/Page.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace ADEPT.Core.Lesson;
|
||||
|
||||
public class Page : IPage
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user