introduced table components
[outofuni/tavern2.git] / lib / table.dart
diff --git a/lib/table.dart b/lib/table.dart
new file mode 100644 (file)
index 0000000..dec2a14
--- /dev/null
@@ -0,0 +1,18 @@
+class Coord {
+       int x;
+       int y;
+
+       Coord(this.x,this.y);
+}
+
+class Table {
+       String id;
+       String name;
+       int num;
+       int room;
+       Coord coord;
+       String type;
+
+       Table(this.id,this.name,this.num,this.room,this.coord,this.type);
+}
+