class Pettanr.GroundColor extends Peta.Element\r
- url: '/ground_colors/'\r
\r
@singular: () ->\r
'GroundColor'\r
\r
defaults: {\r
id: null,\r
- code: 0,\r
+ code: 0xeeeeee,\r
+ orientation: 0\r
} \r
\r
+ @pick_item_name: () ->\r
+ 'ground_color'\r
+ \r
+ @traceable_item_names: () ->\r
+ []\r
+ \r
+ pick: (picked_item) ->\r
+ {\r
+ }\r
+ \r
@has_picture: () ->\r
false\r
\r
- panel: () ->\r
- new Pettanr.Panel({id: @get('panel_id')})\r
+ @pick_item_name: () ->\r
+ ''\r
\r
element_face: () ->\r
new Pettanr.Views.GroundColor.ElementFace({element: this})\r
\r
- initialize: () ->\r
- if @id\r
- @url = @url + @id\r
+ initialize: (attr, options) ->\r
+ super(attr, options)\r
\r