-
Notifications
You must be signed in to change notification settings - Fork 0
/
SchoolDegree.inl
48 lines (43 loc) · 1.14 KB
/
SchoolDegree.inl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Interactive Gym Environment and Educaitonal Kit @version 0.x
@link https://github.com/KabukiStarship/iGeek.git
@file /Course.inl
@author Cale McCollough <https://cookingwithcale.org>
@license Copyright (C) 2021 Kabuki Starship (TM) <kabukistarship.com>;
This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain
one at <https://mozilla.org/MPL/2.0/>. */
#pragma once
#include "SchoolDegree.h"
#if SEAM >= IGEEK_CORE
namespace _ {
SchoolDegree::SchoolDegree() {
}
ISC SchoolDegree::ClassCount() { return class_count_; }
void SchoolDegree::CreateRepo() {
//InitializeRepo
for (int i = 0; i < class_count_; ++i) {
}
}
const Op* SchoolDegree::Star(CHC index, Crabs* crabs) {
static const Op cThis = {
"Door",
OpFirst('A'),
OpFirst('A' + 0),
"A course in a program.",
'}',
';',
' ',
false,
nullptr,
nullptr
};
if (index == '?') {
return CrabsQuery(crabs, cThis);
}
index -= ' ';
if (((ISC)index) >= slots_->count) {
return DoorResult(this, Door::ErrorInvalidOp);
}
return nullptr;
}
#endif