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