27%
05.03.2013
constructor: (a, b, @width) ->
09 super a,b
10
11 draw: ->
12 alert "Width:" " + @width
13 super
14
15 shape = new rectangle 1,2,3
16 shape.draw()
The @
in the constructor ensures that Coffee
27%
17.05.2017
, 5 ) / ( 8, 5 ) }
DATA {
(0,0): 0, 1, 2, 3, 4,
(1,0): 5, 6, 7, 8, 9,
(2,0): 10, 11, 12, 13, 14,
(3,0): 15, 16, 17, 18, 19,
(4,0): 20, 21, 22, 23, 24,
(5,0): 25, 26, 27, 28, 29,
(6