From 359f1a2f2a02bf9c9b6552189c23fd78441060e0 Mon Sep 17 00:00:00 2001 From: Alexander Bazo Date: Mon, 14 Oct 2019 08:37:05 +0200 Subject: [PATCH] Add additonal tasks --- lib/logic/Task.js | 24 +++++++++++++++++++++++- www/images/Bruegel-Childrens_Games.jpg | Bin 0 -> 16341568 bytes www/images/Brueghel-The_Fight_Between_Carnival_and_Lent.jpg | Bin 0 -> 3149640 bytes 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 www/images/Bruegel-Childrens_Games.jpg create mode 100644 www/images/Brueghel-The_Fight_Between_Carnival_and_Lent.jpg diff --git a/lib/logic/Task.js b/lib/logic/Task.js index 24ccd21..23b8bf5 100644 --- a/lib/logic/Task.js +++ b/lib/logic/Task.js @@ -1,7 +1,25 @@ /* eslint-env node */ const schema = require("@colyseus/schema"), - Schema = schema.Schema; + Schema = schema.Schema, + TASKS = [{ + imageUrl: "images/Brueghel-The_Dutch_Proverbs.jpg", + taskDescription: "Suchen Sie nach bildlichen Darstellungen niederländischer Sprichwörter des 16. Jahrhunderts.", + taskSource: "Pieter Bruegel the Elder, Netherlandish Proverbs (Oil on oak wood, 1599), Gemäldegalerie, Berlin", + duration: 15000, + }, + { + imageUrl: "images/Brueghel-The_Fight_Between_Carnival_and_Lent.jpg", + taskDescription: "Suchen Sie nach Darstellungen von Personen ohne Kopfbedeckung.", + taskSource: "Pieter Bruegel the Elder, The Fight Between Carnival and Lent (Oil on oak wood, 1559), Kunsthistorisches Museum, Vienna", + duration: 15000, + }, + { + imageUrl: "images/Bruegel-Childrens_Games.jpg.jpg", + taskDescription: "Identifizieren Sie unterschiedliche Spiele.", + taskSource: "Pieter Bruegel the Elder, Children's Bruegel-Childrens_Games (Oil on oak wood, 1560), Kunsthistorisches Museum, Vienna", + duration: 15000, + }]; var taskCounter = 0; @@ -16,6 +34,10 @@ class Task extends Schema { this.duration = duration; this.position = taskCounter; } + + static getTasks() { + return TASKS; + } } schema.defineTypes(Task, { diff --git a/www/images/Bruegel-Childrens_Games.jpg b/www/images/Bruegel-Childrens_Games.jpg new file mode 100644 index 0000000..c540c7f Binary files /dev/null and b/www/images/Bruegel-Childrens_Games.jpg differ diff --git a/www/images/Brueghel-The_Fight_Between_Carnival_and_Lent.jpg b/www/images/Brueghel-The_Fight_Between_Carnival_and_Lent.jpg new file mode 100644 index 0000000..c3796f4 Binary files /dev/null and b/www/images/Brueghel-The_Fight_Between_Carnival_and_Lent.jpg differ -- libgit2 0.26.0