Dynamic tables

This commit is contained in:
2015-03-01 18:34:57 +01:00
parent d172b28850
commit 119ee7ddc8
9 changed files with 44 additions and 42 deletions
@@ -1,8 +1,8 @@
attr = DS.attr
App.Table = DS.Model.extend
number: attr 'number', defaultValue: 0
width: attr 'number', defaultValue: 1
height: attr 'number', defaultValue: 1
width: attr 'number', defaultValue: 0.8
height: attr 'number', defaultValue: 0.8
position_x: attr 'number'
position_y: attr 'number'
# occupied: attr 'boolean'