summaryrefslogtreecommitdiff
path: root/recipeBuddy/src/app/DataModels/step.ts
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-12-02 10:55:46 -0500
committerTucker Evans <tuckerevans24@gmail.com>2019-12-02 10:58:16 -0500
commit870fb7a7b2faeb9e7e4a99d08d14da61e7b7ad4f (patch)
treed948c0056c84da1c539c1d9b9e983420cf896831 /recipeBuddy/src/app/DataModels/step.ts
parent737063651a31b05631fbb3fae5803da5db0ee389 (diff)
Fix Steps as array in recipe
Diffstat (limited to 'recipeBuddy/src/app/DataModels/step.ts')
-rw-r--r--recipeBuddy/src/app/DataModels/step.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipeBuddy/src/app/DataModels/step.ts b/recipeBuddy/src/app/DataModels/step.ts
new file mode 100644
index 0000000..674a6df
--- /dev/null
+++ b/recipeBuddy/src/app/DataModels/step.ts
@@ -0,0 +1,18 @@
+export class Steps {
+ private instruction: string;
+ private timer: number;
+
+ public contructor(instruction: string, timer: number) {
+ this.instruction = instruction;
+ this.timer = timer;
+ }
+
+ public getInstruction(): string {
+ return this.instruction;
+ }
+
+ public getTimer(): number {
+ return this.timer;
+ }
+
+}