Commit 359f1a2f by Alexander Bazo

Add additonal tasks

parent b4578190
/* 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, {
......
This image diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment