(http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:14259:29))\n at Box.become (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:14259:29))\n at Box. (eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:28148:60))\n at Box. (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:28148:55)\n at Text. (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:28149:32)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:14259:29)\n at eval at (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:14259:29)\n at withLayers (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:17872:20)\n at bound (http://lively-kernel.org/repository/webwerkstatt/core/lively/bootstrap.js:854:37)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?75c5304980b494902c84ad6e61205b57:17951:24","draggingEnabled":true,"_Scale":1,"renderContextTable":{"__isSmartRef__":true,"id":3418},"eventHandler":{"__isSmartRef__":true,"id":3419},"eventStartPos":null,"attributeConnections":[{"__isSmartRef__":true,"id":3420}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"worldMenuOpened":true,"clickedOnMorphTime":1336648766228,"prevScroll":[0,0],"loadingMorph":{"__isSmartRef__":true,"id":3425},"pageProto":{"__isSmartRef__":true,"id":3082},"_ClipMode":"visible","savedWorldAsURL":{"__isSmartRef__":true,"id":3578},"__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[],"scripts":[],"id":"BFEEAFFB-CD8C-4B41-A995-DDD63C79A9A2","shape":{"__isSmartRef__":true,"id":2},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":9},"showsHalos":false,"name":"PrimitiveShapes","partsBinMetaInfo":{"__isSmartRef__":true,"id":10},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":11},"eventHandler":{"__isSmartRef__":true,"id":12},"priorExtent":{"__isSmartRef__":true,"id":13},"layout":{"__isSmartRef__":true,"id":14},"derivationIds":[2593],"moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"_Rotation":0,"_Scale":0.5630923378369916,"distanceToDragEvent":{"__isSmartRef__":true,"id":15},"prevScroll":[0,0],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Box"},"2":{"position":{"__isSmartRef__":true,"id":3},"_Extent":{"__isSmartRef__":true,"id":4},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5},"_Fill":{"__isSmartRef__":true,"id":6},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4":{"x":1055.2967056938885,"y":88.24092332988756,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"6":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"8":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"9":{"x":20.00000000000005,"y":1019.0000000000003,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"10":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"all primitive shapes in a box, including a rotating star!","migrationLevel":2,"partName":"PrimitiveShapes","revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"11":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"12":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"13":{"x":1053.5207980268772,"y":88.24092332988756,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"14":{},"15":{"x":398.99999999999994,"y":-19.00000000000034,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"16":{"submorphs":[{"__isSmartRef__":true,"id":17}],"scripts":[],"id":"98011235-E362-4CC1-AEE5-4C84919730C2","shape":{"__isSmartRef__":true,"id":339},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":347},"showsHalos":false,"name":"Stack1","partsBinMetaInfo":{"__isSmartRef__":true,"id":348},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":349},"eventHandler":{"__isSmartRef__":true,"id":350},"priorExtent":{"__isSmartRef__":true,"id":351},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A","D74DD564-0B96-4849-8838-CB8A636E223A"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":352},"partTests":{"__isSmartRef__":true,"id":353},"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"pageIndex":1,"pageArray":[{"__isSmartRef__":true,"id":354},{"__isSmartRef__":true,"id":367},{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":3057}],"showBackground":null,"baseBackground":{"__isSmartRef__":true,"id":3082},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3097},"__LivelyClassName__":"lively.morphic.Box"},"17":{"submorphs":[{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":307}],"scripts":[],"id":"E9881C64-0A0B-4118-B364-89A98D2F1121","shape":{"__isSmartRef__":true,"id":325},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":333},"showsHalos":false,"name":"Page1","partsBinMetaInfo":{"__isSmartRef__":true,"id":334},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":335},"eventHandler":{"__isSmartRef__":true,"id":336},"priorExtent":{"__isSmartRef__":true,"id":337},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A","38FC43BD-856C-4B5E-815D-66DA188277F2"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":338},"prevScroll":[0,0],"_ClipMode":"visible","stack":{"__isSmartRef__":true,"id":16},"owner":{"__isSmartRef__":true,"id":16},"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"18":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":19},"derivationIds":[null],"id":"10519C07-0B4E-430F-AE75-23885CE0D558","renderContextTable":{"__isSmartRef__":true,"id":25},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":28}],"eventHandler":{"__isSmartRef__":true,"id":30},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":17},"priorExtent":{"__isSmartRef__":true,"id":31},"_MaxTextWidth":455,"_MinTextWidth":455,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":32},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":33},"charsReplaced":"i","lastFindLoc":10,"previousSelection":[1,1],"__LivelyClassName__":"lively.morphic.Text"},"19":{"_Position":{"__isSmartRef__":true,"id":20},"renderContextTable":{"__isSmartRef__":true,"id":21},"_Extent":{"__isSmartRef__":true,"id":22},"_Padding":{"__isSmartRef__":true,"id":23},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"20":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"21":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"22":{"x":463,"y":43,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"23":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"24":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"25":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"26":{"style":{"__isSmartRef__":true,"id":27},"chunkOwner":{"__isSmartRef__":true,"id":18},"storedString":"Freedom Of Speech","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"style":{"__isSmartRef__":true,"id":29},"chunkOwner":{"__isSmartRef__":true,"id":18},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"29":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"30":{"morph":{"__isSmartRef__":true,"id":18},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"31":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"32":{"x":2,"y":7,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"33":{"x":307.3012455810965,"y":-15.787029473010307,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"34":{"submorphs":[{"__isSmartRef__":true,"id":35},{"__isSmartRef__":true,"id":84},{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":195}],"scripts":[],"shape":{"__isSmartRef__":true,"id":232},"derivationIds":[null],"id":"F1C45B5C-68B7-4B89-A02D-950F0CF8A9C1","renderContextTable":{"__isSmartRef__":true,"id":237},"eventHandler":{"__isSmartRef__":true,"id":238},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":239},"owner":{"__isSmartRef__":true,"id":17},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Core","showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":240},"__LivelyClassName__":"lively.morphic.Box"},"35":{"submorphs":[{"__isSmartRef__":true,"id":36}],"scripts":[],"shape":{"__isSmartRef__":true,"id":47},"derivationIds":[null],"id":"001167C9-E0A0-40CC-9DAF-36C735E77EFD","renderContextTable":{"__isSmartRef__":true,"id":63},"eventHandler":{"__isSmartRef__":true,"id":64},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":65},"priorExtent":{"__isSmartRef__":true,"id":66},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":67},"lighterFill":{"__isSmartRef__":true,"id":53},"label":{"__isSmartRef__":true,"id":36},"owner":{"__isSmartRef__":true,"id":34},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":76},"__LivelyClassName__":"lively.morphic.Button"},"36":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":37},"derivationIds":[null],"id":"453FB4ED-A4E7-4664-8E24-D8A8FBB76DB4","renderContextTable":{"__isSmartRef__":true,"id":42},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":43}],"eventHandler":{"__isSmartRef__":true,"id":45},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":35},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":24},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":46},"_MaxTextWidth":26,"_MinTextWidth":26,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"37":{"_Position":{"__isSmartRef__":true,"id":38},"renderContextTable":{"__isSmartRef__":true,"id":39},"_Extent":{"__isSmartRef__":true,"id":40},"_Padding":{"__isSmartRef__":true,"id":41},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"38":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"39":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"40":{"x":26,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"41":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"42":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"43":{"style":{"__isSmartRef__":true,"id":44},"chunkOwner":{"__isSmartRef__":true,"id":36},"storedString":"<>","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"44":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"45":{"morph":{"__isSmartRef__":true,"id":36},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"46":{"x":26,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"47":{"_Position":{"__isSmartRef__":true,"id":48},"renderContextTable":{"__isSmartRef__":true,"id":49},"_Extent":{"__isSmartRef__":true,"id":50},"_Padding":{"__isSmartRef__":true,"id":51},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":52},"_Fill":{"__isSmartRef__":true,"id":53},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"48":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"49":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"50":{"x":26,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"51":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"52":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"53":{"stops":[{"__isSmartRef__":true,"id":54},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":60}],"vector":{"__isSmartRef__":true,"id":62},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"54":{"offset":0,"color":{"__isSmartRef__":true,"id":55}},"55":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"56":{"offset":0.4,"color":{"__isSmartRef__":true,"id":57}},"57":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"58":{"offset":0.6,"color":{"__isSmartRef__":true,"id":59}},"59":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"60":{"offset":1,"color":{"__isSmartRef__":true,"id":61}},"61":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"62":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"63":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"64":{"morph":{"__isSmartRef__":true,"id":35},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"65":{"x":47,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"66":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"67":{"stops":[{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":72},{"__isSmartRef__":true,"id":74}],"vector":{"__isSmartRef__":true,"id":62},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"68":{"offset":0,"color":{"__isSmartRef__":true,"id":69}},"69":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"70":{"offset":0.4,"color":{"__isSmartRef__":true,"id":71}},"71":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"72":{"offset":0.6,"color":{"__isSmartRef__":true,"id":73}},"73":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"74":{"offset":1,"color":{"__isSmartRef__":true,"id":75}},"75":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"76":{"onMouseUp":{"__isSmartRef__":true,"id":77}},"77":{"varMapping":{"__isSmartRef__":true,"id":78},"source":"function onMouseUp(evt) {this.owner.owner.owner.showMenu(evt)}","funcProperties":{"__isSmartRef__":true,"id":83},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"78":{"this":{"__isSmartRef__":true,"id":35},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":79}},"79":{"$super":{"__isSmartRef__":true,"id":80}},"80":{"varMapping":{"__isSmartRef__":true,"id":81},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":82},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"81":{"obj":{"__isSmartRef__":true,"id":35},"name":"onMouseUp"},"82":{},"83":{},"84":{"submorphs":[{"__isSmartRef__":true,"id":85}],"scripts":[],"shape":{"__isSmartRef__":true,"id":95},"derivationIds":[null],"id":"5DC4962A-CEAD-4068-A7B9-730EE70FDCDA","renderContextTable":{"__isSmartRef__":true,"id":109},"eventHandler":{"__isSmartRef__":true,"id":110},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":111},"priorExtent":{"__isSmartRef__":true,"id":112},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":67},"lighterFill":{"__isSmartRef__":true,"id":100},"label":{"__isSmartRef__":true,"id":85},"owner":{"__isSmartRef__":true,"id":34},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":113},"__LivelyClassName__":"lively.morphic.Button"},"85":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":86},"derivationIds":[null],"id":"35C0F96C-E0D8-4B5E-B5E9-B3E0ED4F0469","renderContextTable":{"__isSmartRef__":true,"id":90},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":91}],"eventHandler":{"__isSmartRef__":true,"id":93},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":84},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":24},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":94},"_MaxTextWidth":20,"_MinTextWidth":20,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"86":{"_Position":{"__isSmartRef__":true,"id":87},"renderContextTable":{"__isSmartRef__":true,"id":88},"_Extent":{"__isSmartRef__":true,"id":89},"_Padding":{"__isSmartRef__":true,"id":41},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"87":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"88":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"89":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"90":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"91":{"style":{"__isSmartRef__":true,"id":92},"chunkOwner":{"__isSmartRef__":true,"id":85},"storedString":"<","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"92":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"93":{"morph":{"__isSmartRef__":true,"id":85},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"94":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"95":{"_Position":{"__isSmartRef__":true,"id":96},"renderContextTable":{"__isSmartRef__":true,"id":97},"_Extent":{"__isSmartRef__":true,"id":98},"_Padding":{"__isSmartRef__":true,"id":99},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":52},"_Fill":{"__isSmartRef__":true,"id":100},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"96":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"97":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"98":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"99":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"100":{"stops":[{"__isSmartRef__":true,"id":101},{"__isSmartRef__":true,"id":103},{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":107}],"vector":{"__isSmartRef__":true,"id":62},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"101":{"offset":0,"color":{"__isSmartRef__":true,"id":102}},"102":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"103":{"offset":0.4,"color":{"__isSmartRef__":true,"id":104}},"104":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"105":{"offset":0.6,"color":{"__isSmartRef__":true,"id":106}},"106":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"107":{"offset":1,"color":{"__isSmartRef__":true,"id":108}},"108":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"109":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"110":{"morph":{"__isSmartRef__":true,"id":84},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"111":{"x":27,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"112":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"113":{"onMouseUp":{"__isSmartRef__":true,"id":114}},"114":{"varMapping":{"__isSmartRef__":true,"id":115},"source":"function onMouseUp(evt) {this.owner.owner.owner.showPageInc(-1)}","funcProperties":{"__isSmartRef__":true,"id":120},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"115":{"this":{"__isSmartRef__":true,"id":84},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":116}},"116":{"$super":{"__isSmartRef__":true,"id":117}},"117":{"varMapping":{"__isSmartRef__":true,"id":118},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":119},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"118":{"obj":{"__isSmartRef__":true,"id":84},"name":"onMouseUp"},"119":{},"120":{},"121":{"submorphs":[{"__isSmartRef__":true,"id":122}],"scripts":[],"shape":{"__isSmartRef__":true,"id":132},"derivationIds":[null],"id":"07CC62E7-393F-4462-BE31-2E1D838D5904","renderContextTable":{"__isSmartRef__":true,"id":146},"eventHandler":{"__isSmartRef__":true,"id":147},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":148},"priorExtent":{"__isSmartRef__":true,"id":149},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":67},"lighterFill":{"__isSmartRef__":true,"id":137},"label":{"__isSmartRef__":true,"id":122},"owner":{"__isSmartRef__":true,"id":34},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":150},"__LivelyClassName__":"lively.morphic.Button"},"122":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":123},"derivationIds":[null],"id":"F4E90E53-DD5E-4B15-B4CD-5A6A993562C1","renderContextTable":{"__isSmartRef__":true,"id":127},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":128}],"eventHandler":{"__isSmartRef__":true,"id":130},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":121},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":24},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":131},"_MaxTextWidth":26,"_MinTextWidth":26,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"123":{"_Position":{"__isSmartRef__":true,"id":124},"renderContextTable":{"__isSmartRef__":true,"id":125},"_Extent":{"__isSmartRef__":true,"id":126},"_Padding":{"__isSmartRef__":true,"id":41},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"124":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"125":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"126":{"x":26,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"127":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"128":{"style":{"__isSmartRef__":true,"id":129},"chunkOwner":{"__isSmartRef__":true,"id":122},"storedString":"<<","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"129":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"130":{"morph":{"__isSmartRef__":true,"id":122},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"131":{"x":26,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"132":{"_Position":{"__isSmartRef__":true,"id":133},"renderContextTable":{"__isSmartRef__":true,"id":134},"_Extent":{"__isSmartRef__":true,"id":135},"_Padding":{"__isSmartRef__":true,"id":136},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":52},"_Fill":{"__isSmartRef__":true,"id":137},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"133":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"134":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"135":{"x":26,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"136":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"137":{"stops":[{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":140},{"__isSmartRef__":true,"id":142},{"__isSmartRef__":true,"id":144}],"vector":{"__isSmartRef__":true,"id":62},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"138":{"offset":0,"color":{"__isSmartRef__":true,"id":139}},"139":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"140":{"offset":0.4,"color":{"__isSmartRef__":true,"id":141}},"141":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"142":{"offset":0.6,"color":{"__isSmartRef__":true,"id":143}},"143":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"144":{"offset":1,"color":{"__isSmartRef__":true,"id":145}},"145":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"146":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"147":{"morph":{"__isSmartRef__":true,"id":121},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"148":{"x":1,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"149":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"150":{"onMouseUp":{"__isSmartRef__":true,"id":151}},"151":{"varMapping":{"__isSmartRef__":true,"id":152},"source":"function onMouseUp(evt) {this.owner.owner.owner.showPageNum(1)}","funcProperties":{"__isSmartRef__":true,"id":157},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"152":{"this":{"__isSmartRef__":true,"id":121},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":153}},"153":{"$super":{"__isSmartRef__":true,"id":154}},"154":{"varMapping":{"__isSmartRef__":true,"id":155},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"155":{"obj":{"__isSmartRef__":true,"id":121},"name":"onMouseUp"},"156":{},"157":{},"158":{"submorphs":[{"__isSmartRef__":true,"id":159}],"scripts":[],"shape":{"__isSmartRef__":true,"id":169},"derivationIds":[null],"id":"8FB7A7ED-2F89-4332-A350-7905FCE2C443","renderContextTable":{"__isSmartRef__":true,"id":183},"eventHandler":{"__isSmartRef__":true,"id":184},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":185},"priorExtent":{"__isSmartRef__":true,"id":186},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":67},"lighterFill":{"__isSmartRef__":true,"id":174},"label":{"__isSmartRef__":true,"id":159},"owner":{"__isSmartRef__":true,"id":34},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":187},"__LivelyClassName__":"lively.morphic.Button"},"159":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":160},"derivationIds":[null],"id":"F46C0733-F14E-4D51-A8C7-BEEE25CC7D8D","renderContextTable":{"__isSmartRef__":true,"id":164},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":165}],"eventHandler":{"__isSmartRef__":true,"id":167},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":158},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":24},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":168},"_MaxTextWidth":20,"_MinTextWidth":20,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"160":{"_Position":{"__isSmartRef__":true,"id":161},"renderContextTable":{"__isSmartRef__":true,"id":162},"_Extent":{"__isSmartRef__":true,"id":163},"_Padding":{"__isSmartRef__":true,"id":41},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"161":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"162":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"163":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"164":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"165":{"style":{"__isSmartRef__":true,"id":166},"chunkOwner":{"__isSmartRef__":true,"id":159},"storedString":">","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"166":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"167":{"morph":{"__isSmartRef__":true,"id":159},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"168":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"169":{"_Position":{"__isSmartRef__":true,"id":170},"renderContextTable":{"__isSmartRef__":true,"id":171},"_Extent":{"__isSmartRef__":true,"id":172},"_Padding":{"__isSmartRef__":true,"id":173},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":52},"_Fill":{"__isSmartRef__":true,"id":174},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"170":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"171":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"172":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"173":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"174":{"stops":[{"__isSmartRef__":true,"id":175},{"__isSmartRef__":true,"id":177},{"__isSmartRef__":true,"id":179},{"__isSmartRef__":true,"id":181}],"vector":{"__isSmartRef__":true,"id":62},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"175":{"offset":0,"color":{"__isSmartRef__":true,"id":176}},"176":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"177":{"offset":0.4,"color":{"__isSmartRef__":true,"id":178}},"178":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"179":{"offset":0.6,"color":{"__isSmartRef__":true,"id":180}},"180":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"181":{"offset":1,"color":{"__isSmartRef__":true,"id":182}},"182":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"183":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"184":{"morph":{"__isSmartRef__":true,"id":158},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"185":{"x":73,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"186":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"187":{"onMouseUp":{"__isSmartRef__":true,"id":188}},"188":{"varMapping":{"__isSmartRef__":true,"id":189},"source":"function onMouseUp(evt) {this.owner.owner.owner.showPageInc(1)}","funcProperties":{"__isSmartRef__":true,"id":194},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"189":{"this":{"__isSmartRef__":true,"id":158},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":190}},"190":{"$super":{"__isSmartRef__":true,"id":191}},"191":{"varMapping":{"__isSmartRef__":true,"id":192},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":193},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"192":{"obj":{"__isSmartRef__":true,"id":158},"name":"onMouseUp"},"193":{},"194":{},"195":{"submorphs":[{"__isSmartRef__":true,"id":196}],"scripts":[],"shape":{"__isSmartRef__":true,"id":206},"derivationIds":[null],"id":"6D878D31-F4F6-433F-91D8-E411F5312B01","renderContextTable":{"__isSmartRef__":true,"id":220},"eventHandler":{"__isSmartRef__":true,"id":221},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":222},"priorExtent":{"__isSmartRef__":true,"id":223},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":67},"lighterFill":{"__isSmartRef__":true,"id":211},"label":{"__isSmartRef__":true,"id":196},"owner":{"__isSmartRef__":true,"id":34},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.Widgets","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":224},"__LivelyClassName__":"lively.morphic.Button"},"196":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":197},"derivationIds":[null],"id":"DFCFBD4E-9480-4848-A6FC-5D59E9E8BD51","renderContextTable":{"__isSmartRef__":true,"id":201},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":202}],"eventHandler":{"__isSmartRef__":true,"id":204},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":195},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":24},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":205},"_MaxTextWidth":20,"_MinTextWidth":20,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"197":{"_Position":{"__isSmartRef__":true,"id":198},"renderContextTable":{"__isSmartRef__":true,"id":199},"_Extent":{"__isSmartRef__":true,"id":200},"_Padding":{"__isSmartRef__":true,"id":41},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"198":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"199":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"200":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"201":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"202":{"style":{"__isSmartRef__":true,"id":203},"chunkOwner":{"__isSmartRef__":true,"id":196},"storedString":"+","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"203":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"204":{"morph":{"__isSmartRef__":true,"id":196},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"205":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"206":{"_Position":{"__isSmartRef__":true,"id":207},"renderContextTable":{"__isSmartRef__":true,"id":208},"_Extent":{"__isSmartRef__":true,"id":209},"_Padding":{"__isSmartRef__":true,"id":210},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":52},"_Fill":{"__isSmartRef__":true,"id":211},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"207":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"208":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"209":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"210":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"211":{"stops":[{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":216},{"__isSmartRef__":true,"id":218}],"vector":{"__isSmartRef__":true,"id":62},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"212":{"offset":0,"color":{"__isSmartRef__":true,"id":213}},"213":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"214":{"offset":0.4,"color":{"__isSmartRef__":true,"id":215}},"215":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"216":{"offset":0.6,"color":{"__isSmartRef__":true,"id":217}},"217":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"218":{"offset":1,"color":{"__isSmartRef__":true,"id":219}},"219":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"220":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"221":{"morph":{"__isSmartRef__":true,"id":195},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"222":{"x":93,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"223":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"224":{"onMouseUp":{"__isSmartRef__":true,"id":225}},"225":{"varMapping":{"__isSmartRef__":true,"id":226},"source":"function onMouseUp(evt) {this.owner.owner.owner.newPageHere()}","funcProperties":{"__isSmartRef__":true,"id":231},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"226":{"this":{"__isSmartRef__":true,"id":195},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":227}},"227":{"$super":{"__isSmartRef__":true,"id":228}},"228":{"varMapping":{"__isSmartRef__":true,"id":229},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":230},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"229":{"obj":{"__isSmartRef__":true,"id":195},"name":"onMouseUp"},"230":{},"231":{},"232":{"_Position":{"__isSmartRef__":true,"id":233},"renderContextTable":{"__isSmartRef__":true,"id":234},"_Extent":{"__isSmartRef__":true,"id":235},"_Padding":{"__isSmartRef__":true,"id":236},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":24},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"233":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"234":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"235":{"x":116,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"236":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"237":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"238":{"morph":{"__isSmartRef__":true,"id":34},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"239":{"x":353.21832152119214,"y":498.6412596918213,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"240":{"x":90.08292405990437,"y":-11.42828916483154,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"241":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":242},"derivationIds":[null],"id":"6CCCF15A-840F-4A7C-AFB8-C6BABF5AE7B2","renderContextTable":{"__isSmartRef__":true,"id":247},"eventHandler":{"__isSmartRef__":true,"id":248},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":249},"owner":{"__isSmartRef__":true,"id":17},"name":"blue gradient.png","priorExtent":{"__isSmartRef__":true,"id":250},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":251},"__SourceModuleName__":"Global.lively.morphic.Widgets","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Image"},"242":{"_Position":{"__isSmartRef__":true,"id":243},"renderContextTable":{"__isSmartRef__":true,"id":244},"_Extent":{"__isSmartRef__":true,"id":245},"_Padding":{"__isSmartRef__":true,"id":246},"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYsAAAAICAYAAAAIs9NJAAAABHNCSVQFBQUBSsjp7wAABGFJREFUeF7NmiG0qkAQQInGF40vvmg0GolEI9FoNBqJRKLRSCQSNxqJRqPxtf8VFthZZoeZBfWFOZc5x+w9d3eDdVD+WxmzXiBcNOwmMGYBuVmo+nujf9vvml89Nza/hgzbfal3k48xic43ZPStv/VENn96RjUvzXc3cN+u9K65NbmC3D65JviYWNPeO256cmYX6u/Q2EOTVbfXE1VuRkPut25y5hDr77iZA8F6dgjBXMF+3F+H3Dc8YjxAJub+mMTmsd8TvXdkTJogTBo2czO+H5Pehkx7ZjaznpnNrKUxJ8iTyRMkOmeExpzPd0295/eO55Y5wQIyN1m0vNespySITGFT9SxagvmF++UXsHzygrN8skJY2exHXd189QS9KApaGAEUxSqwpIGIY90Jw80NEEiJCmMgECAMmwrsmDAAWcIwdsb0AlEDYYwKZG2zFYWyhKEaCXAEggmj3UNMIBeHQC6WMJrZt+LABLKF3A+oRfHcY0MgMSGQXU9aHK0w8L3m3hRINS6QgxbIYbhDgVR8cSSQmDiAQFKChijsHRVINsZWHNeGJ1wcmUgY1p67CYVxGxdIYYsDshfGbVQYOSKMjgoTRysMgkAY1s4Sx1AkjTDuDfUfe2n90c+xByxBYFWxGBOEozCYRUEK4kteFKGgKGxRYEURSYvCJigLWBNjRcEqC4cgZisKShCcsoghD2NlMUdRcMqCKgysLAxBSMoiHRUDoygSoiiossCKwpqTtCwmFIVPWeBFgZRFwSsLqihy36KgyqKSlYX6G2VhF0VRHzu5jqLQoghwYdgzKAtnUTgKY0kdSZWOoihHxcEqDM6slKMolMeRFFIYRlH4HEnF4qK4kEXBOpISFMV+ypEUYyYVhVEWoqIQlMVoUdhjFUUqKYpUWBQzisMujPP5A0XBOZJSXHEwyoIqissMRVG9rig6WVBFQd5VBMKi8CyLUHpXMeHIiVUU3Y4UBacsHHcVoqJYz1MU7b4zOVIWf6IoYqIo9N4RKYs/VxRHoigSz6JIhXcVcxbFiSiKds9vsqLIkaLI31QUlCC6orjzikIkCKMoqs8VBf/OYmGQUxQBpyh6QnHMVBRLXRTLDxTFzwuKAr2zeFNRhJ5FERFFsf1gUew8i2JPFMXBsyiOHyyKlCiKDCuKq98l96xFcRNccrdFcXMUxc3vklsJywKUxLAwSvGR1B0vCr2rV95ZrAPhXcWcr6CkReF7V7FEhOD9CmrGolgRReF7V7FBimKDF0U8c1GQZYEVxaSycBXFm19BMQWRsu8qeK+gMp9XUNKimHDkdJ75FVSOCaLwfwVVTD5ygncW5cyvoNQfegVF3Fk4jqK4RcF5BcUtCsErqNGiEF5yR+iRFF0WvTiU/JLbsyi2ky65GUUREkURjRfFDisK7M7C99lsLCyKHSwKtDBYRQGZ2HcWMxWFzyuozN4NYUheQb2zKFiFIS0KwImvoJT8FVRp0lEUkldQirizeGVRtN//AbySoSceUBqZAAAAAElFTkSuQmCC","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"243":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"244":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"245":{"x":576,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"246":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"247":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"248":{"morph":{"__isSmartRef__":true,"id":241},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"249":{"x":12.301245581096538,"y":63.21297052698965,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"250":{"x":576,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"251":{"x":388,"y":-15.999999999999957,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"252":{"submorphs":[{"__isSmartRef__":true,"id":253}],"scripts":[],"id":"19A5DAEC-BCF1-4338-A627-8C278DEB7339","shape":{"__isSmartRef__":true,"id":269},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":285},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":273},"lighterFill":{"__isSmartRef__":true,"id":286},"label":{"__isSmartRef__":true,"id":253},"name":"ScriptableButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":295},"attributeConnections":[{"__isSmartRef__":true,"id":298}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":299},"renderContextTable":{"__isSmartRef__":true,"id":300},"eventHandler":{"__isSmartRef__":true,"id":301},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":17},"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":302},"__LivelyClassName__":"lively.morphic.Button"},"253":{"submorphs":[],"scripts":[],"id":"E1EC250D-A58E-4473-A89D-CE643F59E37A","shape":{"__isSmartRef__":true,"id":254},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":260},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":261},"_Padding":{"__isSmartRef__":true,"id":262},"owner":{"__isSmartRef__":true,"id":252},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":263},"textChunks":[{"__isSmartRef__":true,"id":264}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":266},"eventHandler":{"__isSmartRef__":true,"id":267},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":101,"_MinTextHeight":null,"_FontSize":10,"_TextColor":{"__isSmartRef__":true,"id":268},"__LivelyClassName__":"lively.morphic.Text"},"254":{"position":{"__isSmartRef__":true,"id":255},"_Extent":{"__isSmartRef__":true,"id":256},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":257},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":258},"_Padding":{"__isSmartRef__":true,"id":259},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"255":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"256":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"257":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"258":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"259":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"260":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"261":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"262":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"263":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"264":{"style":{"__isSmartRef__":true,"id":265},"chunkOwner":{"__isSmartRef__":true,"id":253},"storedString":"start demo","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"265":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"266":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"267":{"morph":{"__isSmartRef__":true,"id":253},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"268":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"269":{"position":{"__isSmartRef__":true,"id":270},"_Extent":{"__isSmartRef__":true,"id":271},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":272},"_Fill":{"__isSmartRef__":true,"id":273},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":283},"_Padding":{"__isSmartRef__":true,"id":284},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"270":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"271":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"272":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"273":{"stops":[{"__isSmartRef__":true,"id":274},{"__isSmartRef__":true,"id":276},{"__isSmartRef__":true,"id":278},{"__isSmartRef__":true,"id":280}],"vector":{"__isSmartRef__":true,"id":282},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"274":{"offset":0,"color":{"__isSmartRef__":true,"id":275}},"275":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"276":{"offset":0.4,"color":{"__isSmartRef__":true,"id":277}},"277":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"278":{"offset":0.6,"color":{"__isSmartRef__":true,"id":279}},"279":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"280":{"offset":1,"color":{"__isSmartRef__":true,"id":281}},"281":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"282":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"283":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"284":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"285":{"x":328.30124558109674,"y":143.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"286":{"stops":[{"__isSmartRef__":true,"id":287},{"__isSmartRef__":true,"id":289},{"__isSmartRef__":true,"id":291},{"__isSmartRef__":true,"id":293}],"vector":{"__isSmartRef__":true,"id":282},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"287":{"offset":0,"color":{"__isSmartRef__":true,"id":288}},"288":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"289":{"offset":0.4,"color":{"__isSmartRef__":true,"id":290}},"290":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"291":{"offset":0.6,"color":{"__isSmartRef__":true,"id":292}},"292":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"293":{"offset":1,"color":{"__isSmartRef__":true,"id":294}},"294":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"295":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"ScriptableButton","comment":"Has a script that is called on button press","changes":[{"__isSmartRef__":true,"id":296}],"revisionOnLoad":154251,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"296":{"date":{"__isSmartRef__":true,"id":297},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"297":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"298":{"sourceObj":{"__isSmartRef__":true,"id":252},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":252},"targetMethodName":"onFire","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"299":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"300":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"301":{"morph":{"__isSmartRef__":true,"id":252},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"302":{"onFire":{"__isSmartRef__":true,"id":303}},"303":{"varMapping":{"__isSmartRef__":true,"id":304},"source":"function onFire() {\n var part = $world.loadPartItem('Game', 'PartsBin/FreedomOfSpeech');\n part.openInWorld(pt(0,0));\n}","funcProperties":{"__isSmartRef__":true,"id":305},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"304":{"this":{"__isSmartRef__":true,"id":252}},"305":{"timestamp":{"__isSmartRef__":true,"id":306},"user":"lauritz","tags":[]},"306":{"isSerializedDate":true,"string":"Thu May 10 2012 13:07:08 GMT+0200 (CEST)"},"307":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":308},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558"],"id":"B3D1918B-2674-4640-8855-1021E1809DFF","renderContextTable":{"__isSmartRef__":true,"id":314},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":315},{"__isSmartRef__":true,"id":317},{"__isSmartRef__":true,"id":319}],"eventHandler":{"__isSmartRef__":true,"id":321},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":322},"_MaxTextWidth":782,"_MinTextWidth":782,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title1","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":323},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":324},"charsReplaced":"","lastFindLoc":180,"previousSelection":[223,223],"owner":{"__isSmartRef__":true,"id":17},"pageSpecific":true,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"308":{"_Position":{"__isSmartRef__":true,"id":309},"renderContextTable":{"__isSmartRef__":true,"id":310},"_Extent":{"__isSmartRef__":true,"id":311},"_Padding":{"__isSmartRef__":true,"id":312},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":313},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"309":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"310":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"311":{"x":790,"y":293,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"312":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"313":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"315":{"style":{"__isSmartRef__":true,"id":316},"chunkOwner":{"__isSmartRef__":true,"id":307},"storedString":"parts-based development\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"316":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"27px","fontStyle":"normal","fontVariant":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","textDecoration":"none","fontWeight":"bold","backgroundColor":"rgb(255,255,255)","float":"none","outline":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"317":{"style":{"__isSmartRef__":true,"id":318},"chunkOwner":{"__isSmartRef__":true,"id":307},"storedString":"\ncomplete game in parts, no classes\n\ncollaborative versioning in the parts bin\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"318":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"27px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","textDecoration":"none","outline":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"319":{"style":{"__isSmartRef__":true,"id":320},"chunkOwner":{"__isSmartRef__":true,"id":307},"storedString":"\nimmediate feedback, examples:\n improving a specific, live character \n debugging asynchronous, randomized behavior","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"320":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"321":{"morph":{"__isSmartRef__":true,"id":307},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"322":{"x":790,"y":293,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"323":{"x":1.9999999999999716,"y":185,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"324":{"x":307.3012455810965,"y":-15.787029473010307,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"325":{"position":{"__isSmartRef__":true,"id":326},"_Extent":{"__isSmartRef__":true,"id":327},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":328},"_Fill":{"__isSmartRef__":true,"id":329},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":330},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":331},"_Position":{"__isSmartRef__":true,"id":332},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"326":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"327":{"x":816.4366430423843,"y":525.6412596918212,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"328":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"329":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"330":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"331":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"332":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"333":{"x":-1.0000000000001137,"y":9.999999999999936,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"334":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"335":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"336":{"morph":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"337":{"x":816.4366430423843,"y":524.6412596918212,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"338":{"x":238.2844145841963,"y":-15.341489493684406,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"339":{"position":{"__isSmartRef__":true,"id":340},"_Extent":{"__isSmartRef__":true,"id":341},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":342},"_Fill":{"__isSmartRef__":true,"id":343},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":344},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":345},"_Position":{"__isSmartRef__":true,"id":346},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"340":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"341":{"x":815.4366430423843,"y":536.6412596918212,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"342":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"343":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"344":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"345":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"346":{"x":0.01683099690058043,"y":-1.4455399793256447,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"347":{"x":38.69875441890338,"y":14.787029473010314,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"348":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"349":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"350":{"morph":{"__isSmartRef__":true,"id":16},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"351":{"x":815.4366430423843,"y":535.6412596918212,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"352":{"x":230.28441458419593,"y":-10.341489493684662,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"353":{},"354":{"background":{"__isSmartRef__":true,"id":17},"pageMorphs":[{"__isSmartRef__":true,"id":307},{"__isSmartRef__":true,"id":252}],"bkFieldContents":{"__isSmartRef__":true,"id":355},"__SourceModuleName__":"Global.users.TedKaehler.DBJr","titleContents":{"__isSmartRef__":true,"id":357},"textFieldContents":{"__isSmartRef__":true,"id":359},"title1Contents":{"__isSmartRef__":true,"id":363},"title2Contents":{"__isSmartRef__":true,"id":365},"__LivelyClassName__":"PageData"},"355":{"textString":"Text on page one.","textEmphasis":[{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":356},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"356":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"357":{"textString":"Freedom Of Speech","textEmphasis":[{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":358},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"358":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"359":{"textString":"DBJr is an end-user authoring system in the tradition of HyperCard, SuperCard, and Visual Basic. If you remember HyperCard, you will recognize the concept of a page, a background, and a stack.\n\nDBJr lets you store information freeform without the restrictions of a database. You customize the action of a button by writing a script. It is even possible to make games and other mini-applications.\n\nDBJr is an application inside of the Lively Kernel programming environment. Any graphical object in Lively Kernel can be placed on a page. \n\n Click the Next button -->\n\n","textEmphasis":[{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":361},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":362},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"360":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"361":{"__SourceModuleName__":"Global.lively.morphic.TextCore","color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"16px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,254,253)","display":"inline!important","float":"none","__LivelyClassName__":"lively.morphic.TextEmphasis"},"362":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"363":{"textString":"Tim, Tessi, Lauritz","textEmphasis":[{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":364},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"364":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"365":{"textString":"Tim, Tessi, Lauritz","textEmphasis":[{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":366},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"366":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"367":{"background":{"__isSmartRef__":true,"id":17},"pageMorphs":[{"__isSmartRef__":true,"id":368},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":1363},{"__isSmartRef__":true,"id":1379},{"__isSmartRef__":true,"id":1409},{"__isSmartRef__":true,"id":1431},{"__isSmartRef__":true,"id":1457},{"__isSmartRef__":true,"id":1485},{"__isSmartRef__":true,"id":1507},{"__isSmartRef__":true,"id":1535},{"__isSmartRef__":true,"id":1559},{"__isSmartRef__":true,"id":1583},{"__isSmartRef__":true,"id":1812}],"titleContents":{"__isSmartRef__":true,"id":1968},"title1Contents":{"__isSmartRef__":true,"id":1970},"title2Contents":{"__isSmartRef__":true,"id":1971},"__SourceModuleName__":"Global.users.TedKaehler.DBJr","__LivelyClassName__":"PageData"},"368":{"submorphs":[{"__isSmartRef__":true,"id":369},{"__isSmartRef__":true,"id":426}],"scripts":[],"shape":{"__isSmartRef__":true,"id":502},"derivationIds":[null,"6F36A371-1744-4CD4-BE79-F1ADEE98C7FD","C276F06B-32C3-4CCC-91B1-E7174A2A259E","03772C8C-A733-445D-B2BD-98A56DC071E1","90559E29-634C-4AA7-95D5-95F41427A66A","A011B9EB-9775-4B49-9700-0112BA842A67","6ABA4596-3FDF-446D-90AC-457EB1A14E6D","37D45E25-EC49-490C-B7AF-2AA8637345C9","F1F261F4-844F-4387-9B82-A514F4ADD6E3","EB68FEE6-DA39-420B-974D-2EE5C2CA2A18","3D072A4D-9400-4A54-BD63-CB5598CDE004","9721DA76-AC3B-42DB-A4D7-D74E745580FB","E2C6D407-E20E-4F03-AF59-2AEA2178788C","66D0B260-7B35-4ED3-8A4D-38DC14804693","31F62051-B940-4E15-8421-A67CCF17B56E","8BCBAD35-B9E2-4D4C-A3E4-727B538C8FA6","6204B6A3-DE80-432B-B5AF-4146EC4C83B4","FE1B4FC2-8366-4FA3-8A4B-C2C52F07B040","4B0E268B-BFF5-427D-943A-24AC43194E8D","231B4156-267A-4B1C-BCDD-123E5F43CF33","AA007CCA-BF96-43FD-9482-3422FEB7033A"],"id":"12667D1F-645B-470E-A503-C8896E5A25AD","renderContextTable":{"__isSmartRef__":true,"id":508},"eventHandler":{"__isSmartRef__":true,"id":509},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":510},"partsBinMetaInfo":{"__isSmartRef__":true,"id":511},"priorExtent":{"__isSmartRef__":true,"id":728},"character":null,"showsHalos":false,"lastSpeedTimestamp":1336043967089,"direction":{"__isSmartRef__":true,"id":729},"name":"Character1","__SourceModuleName__":"Global.lively.morphic.Core","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"deathAnimation":{"__isSmartRef__":true,"id":426},"lifeBar":{"__isSmartRef__":true,"id":369},"#startLetters":"","pageSpecific":true,"owner":null,"distanceToDragEvent":{"__isSmartRef__":true,"id":730},"_Rotation":0,"_Scale":1.0120783653693814,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":731},"__LivelyClassName__":"lively.morphic.Box"},"369":{"submorphs":[],"scripts":[],"id":"7BAD503D-99D7-4FCD-AC39-5B9D1E341AA5","shape":{"__isSmartRef__":true,"id":370},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":377},"showsHalos":false,"name":"LifeBar","partsBinMetaInfo":{"__isSmartRef__":true,"id":378},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":393},"eventHandler":{"__isSmartRef__":true,"id":394},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","2DB0D0C7-DC87-4CFA-83D0-A3C69D36DFF5","D5A167D3-1B45-47C6-9589-88D524CBB671","B99E0377-C191-4217-A6A5-9C8B280EBFC7","30BAB7C0-114B-4F37-878B-09C11E3D5549","FB770FA2-2303-4F51-B162-092CD8F21AA0","612FF3E2-A0BA-4252-92A6-28D30F489F85","78D369CF-E59B-4EB9-8D69-151A5EC7EBC2","E425FE9E-F1B0-438A-A245-16A29D9D258B","803FB59F-23F3-4A2F-9E13-DC3FB4D6FBC2","16E73362-4726-4C37-8412-BB7F76E007B7","8F9461A6-FB84-4875-BE34-EDF06F5CF22B","E7D9DE9E-946E-47E7-B684-63DCCE65106B","CEE4682F-B1A8-4163-8208-67DAD6993B52","2F757BF8-3266-4EC9-A57C-3767C91400A5"],"partTests":{"__isSmartRef__":true,"id":395},"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":368},"priorExtent":{"__isSmartRef__":true,"id":400},"isBeingDragged":false,"character":{"__isSmartRef__":true,"id":368},"#startLetters":"","_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":401},"__LivelyClassName__":"lively.morphic.Box"},"370":{"position":{"__isSmartRef__":true,"id":371},"_Extent":{"__isSmartRef__":true,"id":372},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":373},"_Fill":{"__isSmartRef__":true,"id":374},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":375},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":376},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"371":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"372":{"x":48,"y":8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"373":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"374":{"r":0.59375,"g":1,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"375":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"376":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"377":{"x":0,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"378":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A life bar","migrationLevel":4,"partName":"LifeBar","changes":[{"__isSmartRef__":true,"id":379},{"__isSmartRef__":true,"id":381},{"__isSmartRef__":true,"id":383},{"__isSmartRef__":true,"id":385},{"__isSmartRef__":true,"id":387},{"__isSmartRef__":true,"id":389},{"__isSmartRef__":true,"id":391}],"revisionOnLoad":159331,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"379":{"date":{"__isSmartRef__":true,"id":380},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"380":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"381":{"date":{"__isSmartRef__":true,"id":382},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"382":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"383":{"date":{"__isSmartRef__":true,"id":384},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"384":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"385":{"date":{"__isSmartRef__":true,"id":386},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"386":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"387":{"date":{"__isSmartRef__":true,"id":388},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"388":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"389":{"date":{"__isSmartRef__":true,"id":390},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"390":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"391":{"date":{"__isSmartRef__":true,"id":392},"author":"timfelgentreff","message":"no comment","id":"655F8C6A-8060-4BEC-9535-09682C8F0066"},"392":{"isSerializedDate":true,"string":"Fri May 04 2012 16:52:35 GMT+0200 (CEST)"},"393":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"394":{"morph":{"__isSmartRef__":true,"id":369},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"395":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":396}},"396":{"test01IsMorph":{"__isSmartRef__":true,"id":397}},"397":{"varMapping":{"__isSmartRef__":true,"id":398},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":399},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"398":{"this":{"__isSmartRef__":true,"id":395}},"399":{},"400":{"x":48,"y":8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"401":{"setColorForWidth":{"__isSmartRef__":true,"id":402},"reset":{"__isSmartRef__":true,"id":406},"hit":{"__isSmartRef__":true,"id":410},"extent":{"__isSmartRef__":true,"id":414},"isDead":{"__isSmartRef__":true,"id":418},"lifeLoss":{"__isSmartRef__":true,"id":422},"heal":{"__isSmartRef__":true,"id":406}},"402":{"varMapping":{"__isSmartRef__":true,"id":403},"source":"function setColorForWidth() {\n this.setFill(Color.hsb((this.getExtent().x - this.lifeLoss() / 2) / this.extent().x * 100, 1, 1))\n}","funcProperties":{"__isSmartRef__":true,"id":404},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"403":{"this":{"__isSmartRef__":true,"id":369}},"404":{"timestamp":{"__isSmartRef__":true,"id":405},"user":"timfelgentreff","tags":[]},"405":{"isSerializedDate":true,"string":"Fri May 04 2012 16:51:59 GMT+0200 (CEST)"},"406":{"varMapping":{"__isSmartRef__":true,"id":407},"source":"function reset() {\n this.setExtent(this.extent())\n this.setColorForWidth()\n this.setPosition(pt(0, -13))\n}","funcProperties":{"__isSmartRef__":true,"id":408},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"407":{"this":{"__isSmartRef__":true,"id":369}},"408":{"timestamp":{"__isSmartRef__":true,"id":409},"user":"timfelgentreff","tags":[]},"409":{"isSerializedDate":true,"string":"Fri May 04 2012 17:19:31 GMT+0200 (CEST)"},"410":{"varMapping":{"__isSmartRef__":true,"id":411},"source":"function hit() {\n this.setExtent(this.getExtent().subPt(pt(this.lifeLoss(), 0)))\n this.setColorForWidth()\n if (this.isDead()) {\n this.character.become(null)\n this.character.deathAnimation.start()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":412},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"411":{"this":{"__isSmartRef__":true,"id":369}},"412":{"timestamp":{"__isSmartRef__":true,"id":413},"user":"timfelgentreff","tags":[]},"413":{"isSerializedDate":true,"string":"Fri May 04 2012 17:12:01 GMT+0200 (CEST)"},"414":{"varMapping":{"__isSmartRef__":true,"id":415},"source":"function extent() {\n return pt(48,8)\n}","funcProperties":{"__isSmartRef__":true,"id":416},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"415":{"this":{"__isSmartRef__":true,"id":369}},"416":{"timestamp":{"__isSmartRef__":true,"id":417},"user":"timfelgentreff","tags":[]},"417":{"isSerializedDate":true,"string":"Fri May 04 2012 16:49:30 GMT+0200 (CEST)"},"418":{"varMapping":{"__isSmartRef__":true,"id":419},"source":"function isDead() {\n return this.getExtent().x < this.lifeLoss()\n}","funcProperties":{"__isSmartRef__":true,"id":420},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"419":{"this":{"__isSmartRef__":true,"id":369}},"420":{"timestamp":{"__isSmartRef__":true,"id":421},"user":"timfelgentreff","tags":[]},"421":{"isSerializedDate":true,"string":"Fri May 04 2012 16:50:02 GMT+0200 (CEST)"},"422":{"varMapping":{"__isSmartRef__":true,"id":423},"source":"function lifeLoss() {\n return this.extent().x / 3 - 1\n}","funcProperties":{"__isSmartRef__":true,"id":424},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"423":{"this":{"__isSmartRef__":true,"id":369}},"424":{"timestamp":{"__isSmartRef__":true,"id":425},"user":"timfelgentreff","tags":[]},"425":{"isSerializedDate":true,"string":"Fri May 04 2012 16:50:22 GMT+0200 (CEST)"},"426":{"submorphs":[{"__isSmartRef__":true,"id":427}],"scripts":[],"id":"ED28CEF2-90CD-483B-8084-740AE14292C1","shape":{"__isSmartRef__":true,"id":457},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":464},"showsHalos":false,"name":"DeathAnimation","partsBinMetaInfo":{"__isSmartRef__":true,"id":465},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":478},"eventHandler":{"__isSmartRef__":true,"id":479},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","BFF48C2B-8378-49C8-A6EC-5205A2A46D92","0322384E-8399-4532-BD09-846510E4CEB2","D94E58BE-3730-4E93-886D-57D5F7FEDE66","8BA6D9A0-76BF-45F9-8257-B44CE32DC0E8","627E352B-D135-4086-86B2-C7271180C415","1E2E609F-0D3C-43B7-A41A-DEF99F217F62","C106586D-69FF-492C-86C0-9105E43A395A","14B978ED-D71B-4400-8BD0-92F5EB55D3FB","1F548A2A-9935-42D6-A43F-57A789A17989","7AB0E0C5-F3F5-44B8-84A4-FE58514B9CBB","0B24C9CE-0E0A-420E-BABB-1EECAF2A75F7","8BCF21E1-00C1-47E1-8C9D-C6CD6F611A30","94B8E0BB-A727-4D1F-9FCD-57500677A0E3","2958DE92-9D4D-4746-8F9D-CF1A393891BB"],"partTests":{"__isSmartRef__":true,"id":480},"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":368},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":485},"#startLetters":"image","image":{"__isSmartRef__":true,"id":427},"baseUrl":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/death_","counter":1,"character":{"__isSmartRef__":true,"id":368},"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":486},"__LivelyClassName__":"lively.morphic.Box"},"427":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":428},"derivationIds":[null,"238E91DE-656E-43B5-8E3D-904CDA28A277","C00A3C0E-CF81-421A-BF06-DE6D4804AC6B","4382B5D0-4A0C-4EF1-8EA4-8A5F8AE07FED","C63F1CBE-8F12-4DFF-8B87-724D9AFDE572","4C4D5150-2BCE-4514-A48A-3787AC0E3CCF","8D704A99-14C3-4137-9E77-31DEBF2AA651","40D79729-F063-4AC0-8BA8-E1A794FC48A8","F658FB14-4DBB-4056-9F28-DD002EF336C6","19619216-9747-4EA9-A444-FFBBB4310049","40016546-5DEA-40CF-82DD-70C1F06413D4","0D8C6CD9-1951-4437-8DB1-3C658360D9B3","4A305064-C6ED-4B9B-AE1D-D1C8B588E724","438C7CD7-16E4-4D9E-A015-6D204ADE7635","92787D53-FD63-40D2-B832-464328EA031D","2A03C966-9450-4DC5-9084-A4966D9718CA","27A384D8-C394-47A1-BAE3-C121747B4EAF","D48DE2C7-4C3D-48D4-B639-D97975FE3A81","1EF27416-D2A4-4F72-A536-D94226AE04E2","D504024B-30A0-4034-B03E-EE97D7D12A3A","3A45C172-7E0E-4B7C-A6E9-166F38285851"],"id":"F0D9E21E-FF68-4860-BA3D-72B2824D20DC","renderContextTable":{"__isSmartRef__":true,"id":433},"eventHandler":{"__isSmartRef__":true,"id":434},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":435},"name":"DeathAnimationImage","priorExtent":{"__isSmartRef__":true,"id":436},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":437},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":426},"#startLetters":"","eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Visible":false,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":452},"__LivelyClassName__":"lively.morphic.Image"},"428":{"_Position":{"__isSmartRef__":true,"id":429},"renderContextTable":{"__isSmartRef__":true,"id":430},"_Extent":{"__isSmartRef__":true,"id":431},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":432},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/death_1.png","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"429":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"430":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"431":{"x":72,"y":72,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"432":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"433":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"434":{"morph":{"__isSmartRef__":true,"id":427},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"435":{"x":-12,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"436":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"437":{"partName":"CoderCharacter","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech/","comment":"An animated character with a Apple Macbook Air, hacking away and looking suspicious. He loves Latté and hacks Rails...he's a real hipster, living in Mission, SF.","changes":[{"__isSmartRef__":true,"id":438},{"__isSmartRef__":true,"id":440},{"__isSmartRef__":true,"id":442},{"__isSmartRef__":true,"id":444},{"__isSmartRef__":true,"id":446},{"__isSmartRef__":true,"id":448},{"__isSmartRef__":true,"id":450}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":156414,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"438":{"date":{"__isSmartRef__":true,"id":439},"author":"lauritz","message":"extended his horizon minimally","id":"50EA136D-373D-4B07-9743-671C5D5FD786"},"439":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:36:11 GMT+0200 (CEST)"},"440":{"date":{"__isSmartRef__":true,"id":441},"author":"tessi","message":"typo","id":"C3C7C127-AA94-4893-ACE9-14FE290D4CE1"},"441":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:33:53 GMT+0200 (CEST)"},"442":{"date":{"__isSmartRef__":true,"id":443},"author":"tessi","message":"","id":"F17F7ABD-5B30-4809-9E08-0A11240FCE2B"},"443":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:32:18 GMT+0200 (CEST)"},"444":{"date":{"__isSmartRef__":true,"id":445},"author":"tessi","message":"","id":"AC6C3961-CFFB-4C4A-8769-970359274337"},"445":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:01:43 GMT+0200 (CEST)"},"446":{"date":{"__isSmartRef__":true,"id":447},"author":"tessi","message":"some soliloquize sentences for the awesome coder!","id":"892B001E-626A-4EE7-A217-E88C4E1F6088"},"447":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:52:20 GMT+0200 (CEST)"},"448":{"date":{"__isSmartRef__":true,"id":449},"author":"lauritz","message":"no comment","id":"56F017FB-5032-49A5-A6C0-A856F2AB5B55"},"449":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:23:49 GMT+0200 (CEST)"},"450":{"date":{"__isSmartRef__":true,"id":451},"author":"lauritz","message":"no comment","id":"52EB067D-BE9C-4E05-9599-5B3D0D663B9E"},"451":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:30:38 GMT+0200 (CEST)"},"452":{"soliloquize":{"__isSmartRef__":true,"id":453}},"453":{"varMapping":{"__isSmartRef__":true,"id":454},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"Wonder what the new iPony will be like\",\n \"Can i have some Mate pl0x?\",\n \"*click* *clack* *clack*\",\n \"Shouldn't this run faster?\",\n \"Wonder why people use Windows...\",\n \"Lets start a new programming language!\",\n \"Awesome!\",\n \"git rebase to the rescue!\",\n \"Array(16).join(\\\"wat\\\" - 1) + \\\" Batman!\\\"\",\n \"aww. screwed up the pointers\\n.. again!\",\n \"i need horn-rimmed glasses\",\n \"i'm no hipster.\",\n \"can i have a lattai\",\n \"everything you can do i can do better\",\n \"i can do everything better than you\",\n \"i studied at HPI\",\n \"oop is not for everyone\",\n \"it's spring after the java nuclear winter\",\n \"Is the company based in Mission?\",\n \"Who's that Alan Kay dude?\",\n \"I [github] code\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":455},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"454":{"this":{"__isSmartRef__":true,"id":427}},"455":{"timestamp":{"__isSmartRef__":true,"id":456},"user":"lauritz","tags":[]},"456":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:35:45 GMT+0200 (CEST)"},"457":{"position":{"__isSmartRef__":true,"id":458},"_Extent":{"__isSmartRef__":true,"id":459},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":460},"_Fill":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":462},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":463},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"458":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"459":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"460":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"461":{"r":0,"g":0,"b":0,"a":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"462":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"463":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"464":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"465":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":466},{"__isSmartRef__":true,"id":468},{"__isSmartRef__":true,"id":470},{"__isSmartRef__":true,"id":472},{"__isSmartRef__":true,"id":474},{"__isSmartRef__":true,"id":476}],"revisionOnLoad":158846,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"466":{"date":{"__isSmartRef__":true,"id":467},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"467":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"468":{"date":{"__isSmartRef__":true,"id":469},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"469":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"470":{"date":{"__isSmartRef__":true,"id":471},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"471":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"472":{"date":{"__isSmartRef__":true,"id":473},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"473":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"474":{"date":{"__isSmartRef__":true,"id":475},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"475":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"476":{"date":{"__isSmartRef__":true,"id":477},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"477":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"478":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"479":{"morph":{"__isSmartRef__":true,"id":426},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"480":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":481}},"481":{"test01IsMorph":{"__isSmartRef__":true,"id":482}},"482":{"varMapping":{"__isSmartRef__":true,"id":483},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":484},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"483":{"this":{"__isSmartRef__":true,"id":480}},"484":{},"485":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"486":{"die":{"__isSmartRef__":true,"id":487},"reset":{"__isSmartRef__":true,"id":490},"nextImage":{"__isSmartRef__":true,"id":494},"start":{"__isSmartRef__":true,"id":498}},"487":{"varMapping":{"__isSmartRef__":true,"id":488},"source":"function die() {\n this.nextImage()\n if (this.counter === 1) {\n this.character.animate(false);\n this.character.remove()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":489},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"488":{"this":{"__isSmartRef__":true,"id":426}},"489":{},"490":{"varMapping":{"__isSmartRef__":true,"id":491},"source":"function reset() {\n this.stopStepping()\n this.baseUrl = \"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/death_\"\n this.counter = 0\n this.image.setPosition(pt(-12,-12))\n this.image.disableEvents()\n this.nextImage()\n this.setPosition(pt(0,0))\n this.setBorderWidth(0)\n this.image.setVisible(false)\n}","funcProperties":{"__isSmartRef__":true,"id":492},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"491":{"this":{"__isSmartRef__":true,"id":426}},"492":{"timestamp":{"__isSmartRef__":true,"id":493},"user":"timfelgentreff","tags":[]},"493":{"isSerializedDate":true,"string":"Fri May 04 2012 17:24:17 GMT+0200 (CEST)"},"494":{"varMapping":{"__isSmartRef__":true,"id":495},"source":"function nextImage() {\n this.counter = this.counter % 6 + 1\n this.image.setImageURL(this.baseUrl + this.counter + \".png\")\n}","funcProperties":{"__isSmartRef__":true,"id":496},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"495":{"this":{"__isSmartRef__":true,"id":426}},"496":{"timestamp":{"__isSmartRef__":true,"id":497},"user":"timfelgentreff","tags":[]},"497":{"isSerializedDate":true,"string":"Fri May 04 2012 17:09:29 GMT+0200 (CEST)"},"498":{"varMapping":{"__isSmartRef__":true,"id":499},"source":"function start() {\n this.image.setVisible(true)\n this.startStepping(150, \"die\")\n}","funcProperties":{"__isSmartRef__":true,"id":500},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"499":{"this":{"__isSmartRef__":true,"id":426}},"500":{"timestamp":{"__isSmartRef__":true,"id":501},"user":"timfelgentreff","tags":[]},"501":{"isSerializedDate":true,"string":"Fri May 04 2012 17:25:07 GMT+0200 (CEST)"},"502":{"_Position":{"__isSmartRef__":true,"id":503},"renderContextTable":{"__isSmartRef__":true,"id":504},"_Extent":{"__isSmartRef__":true,"id":505},"_Padding":{"__isSmartRef__":true,"id":506},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":507},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"503":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"504":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"505":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"506":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"507":{"r":0.8,"g":0.8,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"508":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"509":{"morph":{"__isSmartRef__":true,"id":368},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"510":{"x":695.3012455810967,"y":230.21297052698978,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"511":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A character is a moving, talking unit/player/movable/NPC/villager","migrationLevel":4,"partName":"Character","changes":[{"__isSmartRef__":true,"id":512},{"__isSmartRef__":true,"id":514},{"__isSmartRef__":true,"id":516},{"__isSmartRef__":true,"id":518},{"__isSmartRef__":true,"id":520},{"__isSmartRef__":true,"id":522},{"__isSmartRef__":true,"id":524},{"__isSmartRef__":true,"id":526},{"__isSmartRef__":true,"id":528},{"__isSmartRef__":true,"id":530},{"__isSmartRef__":true,"id":532},{"__isSmartRef__":true,"id":534},{"__isSmartRef__":true,"id":536},{"__isSmartRef__":true,"id":538},{"__isSmartRef__":true,"id":540},{"__isSmartRef__":true,"id":542},{"__isSmartRef__":true,"id":544},{"__isSmartRef__":true,"id":546},{"__isSmartRef__":true,"id":548},{"__isSmartRef__":true,"id":550},{"__isSmartRef__":true,"id":552},{"__isSmartRef__":true,"id":554},{"__isSmartRef__":true,"id":556},{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":560},{"__isSmartRef__":true,"id":562},{"__isSmartRef__":true,"id":564},{"__isSmartRef__":true,"id":566},{"__isSmartRef__":true,"id":568},{"__isSmartRef__":true,"id":570},{"__isSmartRef__":true,"id":572},{"__isSmartRef__":true,"id":574},{"__isSmartRef__":true,"id":576},{"__isSmartRef__":true,"id":578},{"__isSmartRef__":true,"id":580},{"__isSmartRef__":true,"id":582},{"__isSmartRef__":true,"id":584},{"__isSmartRef__":true,"id":586},{"__isSmartRef__":true,"id":588},{"__isSmartRef__":true,"id":590},{"__isSmartRef__":true,"id":592},{"__isSmartRef__":true,"id":594},{"__isSmartRef__":true,"id":596},{"__isSmartRef__":true,"id":598},{"__isSmartRef__":true,"id":600},{"__isSmartRef__":true,"id":602},{"__isSmartRef__":true,"id":604},{"__isSmartRef__":true,"id":606},{"__isSmartRef__":true,"id":608},{"__isSmartRef__":true,"id":610},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":620},{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":626},{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":632},{"__isSmartRef__":true,"id":634},{"__isSmartRef__":true,"id":636},{"__isSmartRef__":true,"id":638},{"__isSmartRef__":true,"id":640},{"__isSmartRef__":true,"id":642},{"__isSmartRef__":true,"id":644},{"__isSmartRef__":true,"id":646},{"__isSmartRef__":true,"id":648},{"__isSmartRef__":true,"id":650},{"__isSmartRef__":true,"id":652},{"__isSmartRef__":true,"id":654},{"__isSmartRef__":true,"id":656},{"__isSmartRef__":true,"id":658},{"__isSmartRef__":true,"id":660},{"__isSmartRef__":true,"id":662},{"__isSmartRef__":true,"id":664},{"__isSmartRef__":true,"id":666},{"__isSmartRef__":true,"id":668},{"__isSmartRef__":true,"id":670},{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":674},{"__isSmartRef__":true,"id":676},{"__isSmartRef__":true,"id":678},{"__isSmartRef__":true,"id":680},{"__isSmartRef__":true,"id":682},{"__isSmartRef__":true,"id":684},{"__isSmartRef__":true,"id":686},{"__isSmartRef__":true,"id":688},{"__isSmartRef__":true,"id":690},{"__isSmartRef__":true,"id":692},{"__isSmartRef__":true,"id":694},{"__isSmartRef__":true,"id":696},{"__isSmartRef__":true,"id":698},{"__isSmartRef__":true,"id":700},{"__isSmartRef__":true,"id":702},{"__isSmartRef__":true,"id":704},{"__isSmartRef__":true,"id":706},{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":710},{"__isSmartRef__":true,"id":712},{"__isSmartRef__":true,"id":714},{"__isSmartRef__":true,"id":716},{"__isSmartRef__":true,"id":718},{"__isSmartRef__":true,"id":720},{"__isSmartRef__":true,"id":722},{"__isSmartRef__":true,"id":724},{"__isSmartRef__":true,"id":726}],"requiredModules":["projects.WebDev2012.Telautim.js.chatbot"],"revisionOnLoad":159897,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"512":{"date":{"__isSmartRef__":true,"id":513},"author":"lauritz","message":"fixed shuffling of answer possibilities in debates.","id":"1B6E19E3-2737-4598-A8E3-FEAAFC8BFF48"},"513":{"isSerializedDate":true,"string":"Mon May 07 2012 19:20:25 GMT+0200 (CEST)"},"514":{"date":{"__isSmartRef__":true,"id":515},"author":"lauritz","message":"no comment","id":"AF6C3CC5-9EAB-4F84-A91F-F90E8EF1571C"},"515":{"isSerializedDate":true,"string":"Mon May 07 2012 10:58:34 GMT+0200 (CEST)"},"516":{"date":{"__isSmartRef__":true,"id":517},"author":"timfelgentreff","message":"remove character for death animation","id":"679D5E2B-8559-414E-B9BE-3E7840EF084F"},"517":{"isSerializedDate":true,"string":"Sat May 05 2012 13:06:37 GMT+0200 (CEST)"},"518":{"date":{"__isSmartRef__":true,"id":519},"author":"timfelgentreff","message":"little harder npc fights","id":"F28D1CA1-D307-4F2B-BF97-119E2A107B70"},"519":{"isSerializedDate":true,"string":"Sat May 05 2012 13:04:37 GMT+0200 (CEST)"},"520":{"date":{"__isSmartRef__":true,"id":521},"author":"timfelgentreff","message":"make fights easier","id":"C707BCA9-92E4-43E6-95D4-22B840F322AE"},"521":{"isSerializedDate":true,"string":"Sat May 05 2012 12:59:25 GMT+0200 (CEST)"},"522":{"date":{"__isSmartRef__":true,"id":523},"author":"timfelgentreff","message":"talk timeout in fights needs to be closer to text bubble timeout","id":"139B596D-D4BF-4A12-B177-BC7D3AA516D1"},"523":{"isSerializedDate":true,"string":"Sat May 05 2012 12:58:15 GMT+0200 (CEST)"},"524":{"date":{"__isSmartRef__":true,"id":525},"author":"timfelgentreff","message":"remove menu after choosing","id":"98432B46-2F70-48EF-B357-56F419789F63"},"525":{"isSerializedDate":true,"string":"Sat May 05 2012 12:54:26 GMT+0200 (CEST)"},"526":{"date":{"__isSmartRef__":true,"id":527},"author":"timfelgentreff","message":"add fighting, isDead and healing","id":"49162D76-8BAB-4488-9D81-6C5F3F9E9A7B"},"527":{"isSerializedDate":true,"string":"Sat May 05 2012 12:38:51 GMT+0200 (CEST)"},"528":{"date":{"__isSmartRef__":true,"id":529},"author":"timfelgentreff","message":"support directions for the player animations","id":"69DE1485-AECF-45C1-9777-18ED9ADE260C"},"529":{"isSerializedDate":true,"string":"Fri May 04 2012 17:37:43 GMT+0200 (CEST)"},"530":{"date":{"__isSmartRef__":true,"id":531},"author":"tessi","message":" normal border color is transparent","id":"F921DA1B-4626-4B18-953B-5E402B28F855"},"531":{"isSerializedDate":true,"string":"Thu May 03 2012 15:26:05 GMT+0200 (CEST)"},"532":{"date":{"__isSmartRef__":true,"id":533},"author":"tessi","message":"have a chatbot","id":"358609CE-869C-4C32-8159-077252DCA5AF"},"533":{"isSerializedDate":true,"string":"Thu May 03 2012 15:10:55 GMT+0200 (CEST)"},"534":{"date":{"__isSmartRef__":true,"id":535},"author":"tessi","message":"require module chatbot","id":"014ABA59-3301-4F2C-9D20-05859045AB5F"},"535":{"isSerializedDate":true,"string":"Thu May 03 2012 15:00:31 GMT+0200 (CEST)"},"536":{"date":{"__isSmartRef__":true,"id":537},"author":"timfelgentreff","message":"implement walking for A*","id":"0F3AA4B2-39C6-4CBA-A410-72E9D6DD310A"},"537":{"isSerializedDate":true,"string":"Thu May 03 2012 12:38:15 GMT+0200 (CEST)"},"538":{"date":{"__isSmartRef__":true,"id":539},"author":"lauritz","message":"no comment","id":"882374DC-58F6-413A-A909-04B4B9FC0213"},"539":{"isSerializedDate":true,"string":"Wed May 02 2012 17:43:13 GMT+0200 (CEST)"},"540":{"date":{"__isSmartRef__":true,"id":541},"author":"lauritz","message":"yellow border color in dev mode, distinguishes character and tile","id":"CD0BE784-3A0A-4F31-BD29-A7B23BB4D110"},"541":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:57:02 GMT+0200 (CEST)"},"542":{"date":{"__isSmartRef__":true,"id":543},"author":"tessi","message":"","id":"2AB48789-9884-4B49-BE6D-9F6B05F91FC1"},"543":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:32:08 GMT+0200 (CEST)"},"544":{"date":{"__isSmartRef__":true,"id":545},"author":"tessi","message":"","id":"2756AB2C-8345-4A1A-9D5E-2A837C5BCF19"},"545":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:27:05 GMT+0200 (CEST)"},"546":{"date":{"__isSmartRef__":true,"id":547},"author":"tessi","message":"fix setTimeout bug","id":"6A244DDE-DA87-4360-BE58-3D50E455AD3D"},"547":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:23:14 GMT+0200 (CEST)"},"548":{"date":{"__isSmartRef__":true,"id":549},"author":"timfelgentreff","message":"no comment","id":"06241D99-F4AF-4997-BEF5-A05CAB5516FA"},"549":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:54:14 GMT+0200 (CEST)"},"550":{"date":{"__isSmartRef__":true,"id":551},"author":"tessi","message":"isBusy = false when starting a conversation failed","id":"B91EF496-BC58-49B4-AA5D-B0296829A331"},"551":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:38:18 GMT+0200 (CEST)"},"552":{"date":{"__isSmartRef__":true,"id":553},"author":"tessi","message":"have a default-goodbye in answer() and proxy answer-call to character-type if possible","id":"E7051C47-72C5-4F41-A7EE-5D843B84CD5C"},"553":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:33:56 GMT+0200 (CEST)"},"554":{"date":{"__isSmartRef__":true,"id":555},"author":"tessi","message":"conversation","id":"92D475C5-8AFA-4704-B31A-E0323A2F80CA"},"555":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:29:27 GMT+0200 (CEST)"},"556":{"date":{"__isSmartRef__":true,"id":557},"author":"tessi","message":"typo","id":"651358CA-816D-45A4-A6D4-EDDE6445D105"},"557":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:30:15 GMT+0200 (CEST)"},"558":{"date":{"__isSmartRef__":true,"id":559},"author":"tessi","message":"do not take a callback anymore for walkUntilReached","id":"5E146087-30CB-4C83-9B6F-0805908CFD24"},"559":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:26:11 GMT+0200 (CEST)"},"560":{"date":{"__isSmartRef__":true,"id":561},"author":"tessi","message":"character now leaves and enters a tile when walking","id":"86E09CBB-9697-4065-B4D7-38130EA26F03"},"561":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:04 GMT+0200 (CEST)"},"562":{"date":{"__isSmartRef__":true,"id":563},"author":"lauritz","message":"added shadow copy to characters as well","id":"D0B45A60-90FD-405B-8410-02E39C2766FB"},"563":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:26:12 GMT+0200 (CEST)"},"564":{"date":{"__isSmartRef__":true,"id":565},"author":"tessi","message":"do not setup when comitting a character","id":"998DCFDD-7C21-486F-8873-EB500F5D828C"},"565":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:40:44 GMT+0200 (CEST)"},"566":{"date":{"__isSmartRef__":true,"id":567},"author":"tessi","message":"reset isBusy flag when resetting","id":"1C10FA19-01A5-4A0F-9660-E714888E1632"},"567":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:16:55 GMT+0200 (CEST)"},"568":{"date":{"__isSmartRef__":true,"id":569},"author":"tessi","message":"only do something every 3 seconds","id":"380054EE-6F1F-4DCC-BBE1-0A3F3C041652"},"569":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:49:26 GMT+0200 (CEST)"},"570":{"date":{"__isSmartRef__":true,"id":571},"author":"tessi","message":"remove textBubble on reset","id":"F1B5D5ED-7465-4842-8AE8-0D2D5EFEC89D"},"571":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:31:17 GMT+0200 (CEST)"},"572":{"date":{"__isSmartRef__":true,"id":573},"author":"tessi","message":"did a reset","id":"D90F8A53-5943-4780-A68C-03A9795959BD"},"573":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:28:31 GMT+0200 (CEST)"},"574":{"date":{"__isSmartRef__":true,"id":575},"author":"tessi","message":"do not soliloquize too often","id":"C7DF35C3-3829-4869-973A-BF8329278BDD"},"575":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:31:17 GMT+0200 (CEST)"},"576":{"date":{"__isSmartRef__":true,"id":577},"author":"tessi","message":"add animation loop","id":"05FA5AFA-66B9-4E5E-A2AE-D0F798FE2F8C"},"577":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:22:56 GMT+0200 (CEST)"},"578":{"date":{"__isSmartRef__":true,"id":579},"author":"tessi","message":"a character may not soliloquize (talk to himself)","id":"094BB96A-4E2B-4839-A378-B59C9CECF2B4"},"579":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:36:08 GMT+0200 (CEST)"},"580":{"date":{"__isSmartRef__":true,"id":581},"author":"tessi","message":"do a copy() when getting the text bubble","id":"F94DDE8C-9992-4552-82AF-40B62EC980C7"},"581":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:25:58 GMT+0200 (CEST)"},"582":{"date":{"__isSmartRef__":true,"id":583},"author":"tessi","message":"Added functionality to say something - this.say(\"Foo!\")","id":"D3310A2C-9375-4910-8AD0-1624086A18C5"},"583":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:21:54 GMT+0200 (CEST)"},"584":{"date":{"__isSmartRef__":true,"id":585},"author":"tessi","message":"cached character names list in becomeRandomCharacter","id":"F24125F0-9BEE-4CB9-8919-4184B4237A23"},"585":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:06:32 GMT+0200 (CEST)"},"586":{"date":{"__isSmartRef__":true,"id":587},"author":"tessi","message":"Do not throw error on left click if the character is not within a game","id":"8B76A606-75E7-44F9-81B3-4A7D32710930"},"587":{"isSerializedDate":true,"string":"Sat Apr 21 2012 11:53:06 GMT+0200 (CEST)"},"588":{"date":{"__isSmartRef__":true,"id":589},"author":"timfelgentreff","message":"","id":"F897DF97-32A2-4CE7-9A35-53212D4A26E3"},"589":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:03:29 GMT+0200 (CEST)"},"590":{"date":{"__isSmartRef__":true,"id":591},"author":"timfelgentreff","message":"","id":"A38CB8F1-BDF4-452A-A4D3-860ADFB0C56B"},"591":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:03:05 GMT+0200 (CEST)"},"592":{"date":{"__isSmartRef__":true,"id":593},"author":"timfelgentreff","message":"","id":"7EF9C9F0-6D1A-4EEC-A4C7-E8413604B1F8"},"593":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:20:32 GMT+0200 (CEST)"},"594":{"date":{"__isSmartRef__":true,"id":595},"author":"timfelgentreff","message":"","id":"48990527-46C3-4754-B62F-86A06C3683E4"},"595":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:15:33 GMT+0200 (CEST)"},"596":{"date":{"__isSmartRef__":true,"id":597},"author":"timfelgentreff","message":"","id":"A801296C-B767-4752-9C39-B91FC2CB09D1"},"597":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:14:30 GMT+0200 (CEST)"},"598":{"date":{"__isSmartRef__":true,"id":599},"author":"timfelgentreff","message":"","id":"110ED1B9-D63C-4832-A17C-48410A99EBE8"},"599":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:06:44 GMT+0200 (CEST)"},"600":{"date":{"__isSmartRef__":true,"id":601},"author":"timfelgentreff","message":"","id":"FB4CEBF9-0379-4033-A173-5297EFC0B5BE"},"601":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:44:05 GMT+0200 (CEST)"},"602":{"date":{"__isSmartRef__":true,"id":603},"author":"timfelgentreff","message":"","id":"268C27C2-3DAB-4D17-AB4F-8319341CBE51"},"603":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:14:35 GMT+0200 (CEST)"},"604":{"date":{"__isSmartRef__":true,"id":605},"author":"timfelgentreff","message":"","id":"EA0606B9-830C-4424-9950-55893DCE4622"},"605":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:03:33 GMT+0200 (CEST)"},"606":{"date":{"__isSmartRef__":true,"id":607},"author":"timfelgentreff","message":"","id":"77F93C94-EAD5-4F89-AA8A-E4102AAEC3CB"},"607":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:23:21 GMT+0200 (CEST)"},"608":{"date":{"__isSmartRef__":true,"id":609},"author":"timfelgentreff","message":"","id":"4F98DE4B-29D4-46EF-8F3F-277038AE57A2"},"609":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:03:58 GMT+0200 (CEST)"},"610":{"date":{"__isSmartRef__":true,"id":611},"author":"timfelgentreff","message":"","id":"B5F2B437-806A-447F-B407-7C5FFCE479B0"},"611":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:01:02 GMT+0200 (CEST)"},"612":{"date":{"__isSmartRef__":true,"id":613},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"613":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"614":{"date":{"__isSmartRef__":true,"id":615},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"615":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"616":{"date":{"__isSmartRef__":true,"id":617},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"617":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"618":{"date":{"__isSmartRef__":true,"id":619},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"619":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"620":{"date":{"__isSmartRef__":true,"id":621},"author":"timfelgentreff","message":"","id":"6B60055B-55B1-4E2A-AD9C-FA5408E28AB7"},"621":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:29:52 GMT+0200 (CEST)"},"622":{"date":{"__isSmartRef__":true,"id":623},"author":"timfelgentreff","message":"","id":"85BC7627-55A6-4E30-B13F-1227C9196849"},"623":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:17:51 GMT+0200 (CEST)"},"624":{"date":{"__isSmartRef__":true,"id":625},"author":"timfelgentreff","message":"","id":"0FED5A50-603F-474D-BAB3-3D252B7C0D12"},"625":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:24:02 GMT+0200 (CEST)"},"626":{"date":{"__isSmartRef__":true,"id":627},"author":"timfelgentreff","message":"","id":"158C6E00-18B6-4CB2-9E5F-D99927550506"},"627":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:11:41 GMT+0200 (CEST)"},"628":{"date":{"__isSmartRef__":true,"id":629},"author":"timfelgentreff","message":"","id":"D5B99567-984F-4ED8-86EF-7314F0876EF1"},"629":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:20:46 GMT+0200 (CEST)"},"630":{"date":{"__isSmartRef__":true,"id":631},"author":"timfelgentreff","message":"","id":"74ECE854-1AF0-4527-8FAD-52DA991B5F48"},"631":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:28:31 GMT+0200 (CEST)"},"632":{"date":{"__isSmartRef__":true,"id":633},"author":"timfelgentreff","message":"","id":"F0A0187B-50D8-410C-BA09-0AE944E5BAC2"},"633":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:29:41 GMT+0200 (CEST)"},"634":{"date":{"__isSmartRef__":true,"id":635},"author":"timfelgentreff","message":"","id":"84662911-A76F-443A-A285-71B3ECEEF099"},"635":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:37:03 GMT+0200 (CEST)"},"636":{"date":{"__isSmartRef__":true,"id":637},"author":"timfelgentreff","message":"","id":"5193293E-D9DE-406D-AD6A-589A904409FE"},"637":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:54:23 GMT+0200 (CEST)"},"638":{"date":{"__isSmartRef__":true,"id":639},"author":"timfelgentreff","message":"","id":"42D19C5A-8D17-4352-B10F-D69925A338CF"},"639":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:07:22 GMT+0200 (CEST)"},"640":{"date":{"__isSmartRef__":true,"id":641},"author":"timfelgentreff","message":"","id":"7A79A18C-B093-44EA-8522-7A3D2013F7F9"},"641":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:12:47 GMT+0200 (CEST)"},"642":{"date":{"__isSmartRef__":true,"id":643},"author":"timfelgentreff","message":"","id":"BB97EFD5-248F-4B83-A177-F68CC9FE7744"},"643":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:10:09 GMT+0200 (CEST)"},"644":{"date":{"__isSmartRef__":true,"id":645},"author":"timfelgentreff","message":"","id":"29A66B5D-C073-40D0-B445-4B92C0315243"},"645":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:11:14 GMT+0200 (CEST)"},"646":{"date":{"__isSmartRef__":true,"id":647},"author":"timfelgentreff","message":"","id":"45A004C9-FD27-4FDD-8910-03240CEDBB33"},"647":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:13:43 GMT+0200 (CEST)"},"648":{"date":{"__isSmartRef__":true,"id":649},"author":"timfelgentreff","message":"","id":"4D440D8C-20BF-4088-A05C-48ADE0376E9C"},"649":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:33:42 GMT+0200 (CEST)"},"650":{"date":{"__isSmartRef__":true,"id":651},"author":"timfelgentreff","message":"","id":"F496AFC6-959F-4EC9-AED3-0CACA9686C50"},"651":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:50:45 GMT+0200 (CEST)"},"652":{"date":{"__isSmartRef__":true,"id":653},"author":"timfelgentreff","message":"game loop implemented","id":"5F56A7B0-C894-4B53-99EA-23CA74E07649"},"653":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:19:13 GMT+0200 (CEST)"},"654":{"date":{"__isSmartRef__":true,"id":655},"author":"timfelgentreff","message":"","id":"8B2931F8-644C-441D-8ED0-1055AC1A8466"},"655":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:09:54 GMT+0200 (CEST)"},"656":{"date":{"__isSmartRef__":true,"id":657},"author":"timfelgentreff","message":"use convenience method to get all the character names from the Game","id":"64A0DAD1-6DCA-4A5E-A1C4-1245B5142904"},"657":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:25:05 GMT+0200 (CEST)"},"658":{"date":{"__isSmartRef__":true,"id":659},"author":"tessi","message":"do not talk if aString is undefined or null","id":"6CC7D989-E7E7-455A-9548-6E11E062868C"},"659":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:42:15 GMT+0200 (CEST)"},"660":{"date":{"__isSmartRef__":true,"id":661},"author":"tessi","message":"fixed bug: error when aString and textBubble was both undefined","id":"B7C5702A-5A72-4B4E-8495-6C7091FB90E7"},"661":{"isSerializedDate":true,"string":"Mon Apr 23 2012 16:08:46 GMT+0200 (CEST)"},"662":{"date":{"__isSmartRef__":true,"id":663},"author":"tessi","message":"reset() sets devStyle; replace get() calls with map() and game()","id":"632B5695-D5F1-4549-A4C4-57118B5CC18C"},"663":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:23:43 GMT+0200 (CEST)"},"664":{"date":{"__isSmartRef__":true,"id":665},"author":"timfelgentreff","message":"keep reference to character image, and use that to find the current tile, to match player expectations","id":"E636EC78-9EF7-426B-A6C7-958C35EB5025"},"665":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:08:44 GMT+0200 (CEST)"},"666":{"date":{"__isSmartRef__":true,"id":667},"author":"timfelgentreff","message":"keep reference to character image, and use that to find the current tile, to match player expectations","id":"FA63AB65-E0D8-4640-8A97-8658CB5CC784"},"667":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:09:04 GMT+0200 (CEST)"},"668":{"date":{"__isSmartRef__":true,"id":669},"author":"tessi","message":"fix currentTile() calculation","id":"5DFDC67F-C2B3-446A-B98F-9D783D86AE67"},"669":{"isSerializedDate":true,"string":"Wed Apr 25 2012 15:20:10 GMT+0200 (CEST)"},"670":{"date":{"__isSmartRef__":true,"id":671},"author":"tessi","message":"remove coder from character wooooo!","id":"CC460BFD-5714-4136-9D71-C27CB357B03D"},"671":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:26:11 GMT+0200 (CEST)"},"672":{"date":{"__isSmartRef__":true,"id":673},"author":"tessi","message":"fix reset()","id":"25318C72-069B-4982-80C1-3D6BB62CAEEB"},"673":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:35:54 GMT+0200 (CEST)"},"674":{"date":{"__isSmartRef__":true,"id":675},"author":"tessi","message":"WIP: startConversation","id":"CDE4457D-E565-4B2B-B9A2-11B469420208"},"675":{"isSerializedDate":true,"string":"Wed Apr 25 2012 17:08:28 GMT+0200 (CEST)"},"676":{"date":{"__isSmartRef__":true,"id":677},"author":"tessi","message":"removed todo on getting tile characters","id":"E53A3851-D321-46AB-BAEC-00F6DB517896"},"677":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:23:53 GMT+0200 (CEST)"},"678":{"date":{"__isSmartRef__":true,"id":679},"author":"tessi","message":"removed todo on getting tile characters","id":"481343BD-AEE2-4403-8C34-F8ED283FB915"},"679":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:23:54 GMT+0200 (CEST)"},"680":{"date":{"__isSmartRef__":true,"id":681},"author":"lauritz","message":"no comment","id":"312F87FF-9A4A-4537-94FC-17A675B8F1D0"},"681":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:00:17 GMT+0200 (CEST)"},"682":{"date":{"__isSmartRef__":true,"id":683},"author":"timfelgentreff","message":"no comment","id":"A9AE4A60-C66D-40B6-BAAF-1D9D71F84B6E"},"683":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:53:18 GMT+0200 (CEST)"},"684":{"date":{"__isSmartRef__":true,"id":685},"author":"timfelgentreff","message":"no comment","id":"39F64661-30D8-4C21-8955-3577D7999A1E"},"685":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:14:46 GMT+0200 (CEST)"},"686":{"date":{"__isSmartRef__":true,"id":687},"author":"tessi","message":"","id":"86997E8C-1851-4003-AF70-3637C964F4C2"},"687":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:40:38 GMT+0200 (CEST)"},"688":{"date":{"__isSmartRef__":true,"id":689},"author":"tessi","message":"do not try to start a conversation with busy characters anymore","id":"FC5A962A-B4F5-4952-9DA3-93178498B650"},"689":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:45:52 GMT+0200 (CEST)"},"690":{"date":{"__isSmartRef__":true,"id":691},"author":"timfelgentreff","message":"add A* algorithm","id":"2463589C-B2A5-49C5-B4AC-61C44963498C"},"691":{"isSerializedDate":true,"string":"Thu May 03 2012 12:16:42 GMT+0200 (CEST)"},"692":{"date":{"__isSmartRef__":true,"id":693},"author":"timfelgentreff","message":"start including A* as the walking script","id":"0CE0539A-F853-4368-B65C-FBF9FA1374F6"},"693":{"isSerializedDate":true,"string":"Thu May 03 2012 12:22:29 GMT+0200 (CEST)"},"694":{"date":{"__isSmartRef__":true,"id":695},"author":"timfelgentreff","message":"avoid crashing chrome","id":"C08488EB-0F4F-4D1B-8158-4B4CECA13310"},"695":{"isSerializedDate":true,"string":"Thu May 03 2012 12:39:24 GMT+0200 (CEST)"},"696":{"date":{"__isSmartRef__":true,"id":697},"author":"timfelgentreff","message":"update A*","id":"0ADDF3A6-9B36-4836-952A-034C8AFB76AE"},"697":{"isSerializedDate":true,"string":"Thu May 03 2012 13:30:55 GMT+0200 (CEST)"},"698":{"date":{"__isSmartRef__":true,"id":699},"author":"tessi","message":"talk","id":"A54BE0A6-A721-4931-9C16-1B10721DB077"},"699":{"isSerializedDate":true,"string":"Thu May 03 2012 15:07:51 GMT+0200 (CEST)"},"700":{"date":{"__isSmartRef__":true,"id":701},"author":"tessi","message":"cannot set color to null","id":"8282460E-42E5-474F-B4B1-779328A0CA12"},"701":{"isSerializedDate":true,"string":"Thu May 03 2012 15:19:48 GMT+0200 (CEST)"},"702":{"date":{"__isSmartRef__":true,"id":703},"author":"timfelgentreff","message":"add lifebar and death animation","id":"56443440-08E1-4535-A501-313169B43CF6"},"703":{"isSerializedDate":true,"string":"Fri May 04 2012 17:23:23 GMT+0200 (CEST)"},"704":{"date":{"__isSmartRef__":true,"id":705},"author":"timfelgentreff","message":"stopStepping after remove","id":"67474739-FF28-40D1-B14A-576A8BFFEFC6"},"705":{"isSerializedDate":true,"string":"Fri May 04 2012 17:24:49 GMT+0200 (CEST)"},"706":{"date":{"__isSmartRef__":true,"id":707},"author":"timfelgentreff","message":"slower, more painful death","id":"69220053-3258-4538-84FA-5447CC65011C"},"707":{"isSerializedDate":true,"string":"Fri May 04 2012 17:25:57 GMT+0200 (CEST)"},"708":{"date":{"__isSmartRef__":true,"id":709},"author":"timfelgentreff","message":"no comment","id":"A8214C7B-EBBB-4E93-A914-2794143B55BC"},"709":{"isSerializedDate":true,"string":"Fri May 04 2012 17:45:57 GMT+0200 (CEST)"},"710":{"date":{"__isSmartRef__":true,"id":711},"author":"timfelgentreff","message":"no comment","id":"D908D0F4-3ED1-4F1D-AEB9-7CFC3B0C8BA5"},"711":{"isSerializedDate":true,"string":"Fri May 04 2012 17:46:41 GMT+0200 (CEST)"},"712":{"date":{"__isSmartRef__":true,"id":713},"author":"timfelgentreff","message":"no comment","id":"A506CB13-6C0B-433F-8BE4-73FD6319265A"},"713":{"isSerializedDate":true,"string":"Fri May 04 2012 17:48:35 GMT+0200 (CEST)"},"714":{"date":{"__isSmartRef__":true,"id":715},"author":"timfelgentreff","message":"know your fight phrases","id":"2A0FDBCF-F817-40F3-A5A3-B6029BC24B85"},"715":{"isSerializedDate":true,"string":"Fri May 04 2012 18:00:37 GMT+0200 (CEST)"},"716":{"date":{"__isSmartRef__":true,"id":717},"author":"timfelgentreff","message":"fix misnomer","id":"6841DC46-81BA-485A-90FE-40C795FC925D"},"717":{"isSerializedDate":true,"string":"Sat May 05 2012 12:42:00 GMT+0200 (CEST)"},"718":{"date":{"__isSmartRef__":true,"id":719},"author":"timfelgentreff","message":"no comment","id":"9909F62F-D862-408B-B763-7B126CAECB21"},"719":{"isSerializedDate":true,"string":"Sat May 05 2012 12:46:46 GMT+0200 (CEST)"},"720":{"date":{"__isSmartRef__":true,"id":721},"author":"timfelgentreff","message":"no comment","id":"960441EB-D5D2-49ED-918C-C19ED11E90D5"},"721":{"isSerializedDate":true,"string":"Sat May 05 2012 12:49:21 GMT+0200 (CEST)"},"722":{"date":{"__isSmartRef__":true,"id":723},"author":"timfelgentreff","message":"fix typo","id":"05779C1D-DB1E-4CB9-AA2C-6653533F10C8"},"723":{"isSerializedDate":true,"string":"Sat May 05 2012 12:51:21 GMT+0200 (CEST)"},"724":{"date":{"__isSmartRef__":true,"id":725},"author":"lauritz","message":"no comment","id":"FE139E8C-ABF5-4D0C-97D5-C72CDDCF5321"},"725":{"isSerializedDate":true,"string":"Mon May 07 2012 10:35:19 GMT+0200 (CEST)"},"726":{"date":{"__isSmartRef__":true,"id":727},"author":"lauritz","message":"faster fights","id":"0893EC15-CE3B-43C0-AAE5-B3D8EA6E5151"},"727":{"isSerializedDate":true,"string":"Mon May 07 2012 11:47:58 GMT+0200 (CEST)"},"728":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"729":{"x":-1,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"730":{"x":37,"y":-25.00000000000003,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"731":{"setDevStyle":{"__isSmartRef__":true,"id":732},"setNormalStyle":{"__isSmartRef__":true,"id":736},"tileSize":{"__isSmartRef__":true,"id":740},"become":{"__isSmartRef__":true,"id":744},"walkUntilReached":{"__isSmartRef__":true,"id":748},"onMouseDown":{"__isSmartRef__":true,"id":752},"walkTo":{"__isSmartRef__":true,"id":760},"currentTile":{"__isSmartRef__":true,"id":764},"toolbox":{"__isSmartRef__":true,"id":768},"setCurrentSpeed":{"__isSmartRef__":true,"id":772},"getCurrentSpeed":{"__isSmartRef__":true,"id":776},"isWalking":{"__isSmartRef__":true,"id":780},"select":{"__isSmartRef__":true,"id":784},"deselect":{"__isSmartRef__":true,"id":788},"becomeRandomCharacter":{"__isSmartRef__":true,"id":792},"reset":{"__isSmartRef__":true,"id":796},"setDirectionToTile":{"__isSmartRef__":true,"id":800},"getDirection":{"__isSmartRef__":true,"id":804},"setDirection":{"__isSmartRef__":true,"id":808},"setPosition":{"__isSmartRef__":true,"id":812},"say":{"__isSmartRef__":true,"id":820},"soliloquize":{"__isSmartRef__":true,"id":824},"characterType":{"__isSmartRef__":true,"id":828},"animate":{"__isSmartRef__":true,"id":832},"doSomething":{"__isSmartRef__":true,"id":836},"map":{"__isSmartRef__":true,"id":840},"game":{"__isSmartRef__":true,"id":844},"setup":{"__isSmartRef__":true,"id":848},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":852},"startConversation":{"__isSmartRef__":true,"id":860},"startConversationWith":{"__isSmartRef__":true,"id":864},"shallowCopy":{"__isSmartRef__":true,"id":868},"conversation":{"__isSmartRef__":true,"id":872},"answer":{"__isSmartRef__":true,"id":876},"hideTextBubble":{"__isSmartRef__":true,"id":880},"aStar":{"__isSmartRef__":true,"id":884},"aStarHeuristicCostEstimate":{"__isSmartRef__":true,"id":888},"aStarWalkPath":{"__isSmartRef__":true,"id":892},"chatBot":{"__isSmartRef__":true,"id":896},"getHit":{"__isSmartRef__":true,"id":900},"becomePlayer":{"__isSmartRef__":true,"id":904},"fight":{"__isSmartRef__":true,"id":908},"fightPhrases":{"__isSmartRef__":true,"id":912},"randomQuestions":{"__isSmartRef__":true,"id":916},"randomAnswersFor":{"__isSmartRef__":true,"id":920},"executeFightTurnAsking":{"__isSmartRef__":true,"id":924},"heal":{"__isSmartRef__":true,"id":928},"isDead":{"__isSmartRef__":true,"id":932}},"732":{"varMapping":{"__isSmartRef__":true,"id":733},"source":"function setDevStyle() {\n if (this.map()) {\n this.setExtent(this.tileSize())\n }\n this.setFill(null)\n this.shape.setBorderColor(Color.yellow)\n}","funcProperties":{"__isSmartRef__":true,"id":734},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"733":{"this":{"__isSmartRef__":true,"id":368}},"734":{"timestamp":{"__isSmartRef__":true,"id":735},"user":"lauritz","tags":[]},"735":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:55:28 GMT+0200 (CEST)"},"736":{"varMapping":{"__isSmartRef__":true,"id":737},"source":"function setNormalStyle() {\n this.setDevStyle()\n this.shape.setBorderColor(new Color.rgba(0,0,0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":738},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"737":{"this":{"__isSmartRef__":true,"id":368}},"738":{"timestamp":{"__isSmartRef__":true,"id":739},"user":"tessi","tags":[]},"739":{"isSerializedDate":true,"string":"Thu May 03 2012 15:25:50 GMT+0200 (CEST)"},"740":{"varMapping":{"__isSmartRef__":true,"id":741},"source":"function tileSize() {\n return this.map().tileSize()\n}","funcProperties":{"__isSmartRef__":true,"id":742},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"741":{"this":{"__isSmartRef__":true,"id":368}},"742":{"timestamp":{"__isSmartRef__":true,"id":743},"user":"undefined","tags":[]},"743":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:42:19 GMT+0200 (CEST)"},"744":{"varMapping":{"__isSmartRef__":true,"id":745},"source":"function become(player) {\n if (this.character) {\n this.character.remove()\n this.character = null\n }\n if (!player) { return this }\n \n this.character = this.toolbox(player + \"Character\")\n if (this.character) {\n // image should be 150% of a tile\n this.character.setExtent(this.tileSize().scaleBy(1.5))\n // -25% offset to center character on tile\n this.character.setPositionTopLeft(this.tileSize().scaleBy(-0.25))\n this.addMorph(this.character)\n this.character.disableEvents()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":746},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"745":{"this":{"__isSmartRef__":true,"id":368}},"746":{"timestamp":{"__isSmartRef__":true,"id":747},"user":"timfelgentreff","tags":[]},"747":{"isSerializedDate":true,"string":"Sat May 05 2012 13:06:24 GMT+0200 (CEST)"},"748":{"varMapping":{"__isSmartRef__":true,"id":749},"source":"function walkUntilReached(tile) {\n var minPositive = function (a, b) {\n a = Math.abs(a), b = Math.abs(b)\n return a ? (b ? Math.min(a, b) : a) : b\n }\n\n // this.setPosition(pt(0,0))\n if (this.getPosition().equals(tile.getPosition())) {\n if (this.walkScript) { this.walkScript.stop() }\n this.setDirection(pt(0,0))\n tile.enterTile(this)\n } else {\n if (this.currentTile() !== tile) {\n this.setDirectionToTile(tile)\n var nextNeighbours = this.currentTile().neighboursInDirection(this.getDirection())\n if (nextNeighbours.any(function (each) { return each.isObstacle() })) {\n this.walkTo(this.currentTile())\n } else {\n var directionVector = this.getPosition().subPt(tile.getPosition()),\n maxSpeed = minPositive(directionVector.x, directionVector.y),\n speed = Math.min(maxSpeed, this.getCurrentSpeed())\n this.moveBy(this.getDirection().scaleBy(speed))\n }\n } else {\n var directionVector = this.getPosition().subPt(tile.getPosition()),\n maxSpeed = minPositive(directionVector.x, directionVector.y),\n speed = Math.min(maxSpeed, this.getCurrentSpeed())\n this.moveBy(this.getDirection().scaleBy(speed))\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":750},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"749":{"this":{"__isSmartRef__":true,"id":368}},"750":{"timestamp":{"__isSmartRef__":true,"id":751},"user":"timfelgentreff","tags":[]},"751":{"isSerializedDate":true,"string":"Fri May 04 2012 17:37:13 GMT+0200 (CEST)"},"752":{"varMapping":{"__isSmartRef__":true,"id":753},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.game()) {\n if (this.game().selectedUnit !== this) {\n if (this.game().selectedUnit !== null) {\n this.game().selectedUnit.deselect()\n }\n this.select()\n } else {\n this.deselect()\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":758},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"753":{"this":{"__isSmartRef__":true,"id":368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":754}},"754":{"$super":{"__isSmartRef__":true,"id":755}},"755":{"varMapping":{"__isSmartRef__":true,"id":756},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":757},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"756":{"obj":{"__isSmartRef__":true,"id":368},"name":"onMouseDown"},"757":{},"758":{"timestamp":{"__isSmartRef__":true,"id":759},"user":"tessi","tags":[]},"759":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:21:42 GMT+0200 (CEST)"},"760":{"varMapping":{"__isSmartRef__":true,"id":761},"source":"function walkTo(tile) {\n this.lastSpeedTimestamp = Date.now()\n var path = this.aStar(tile),\n that = this\n if (path.length === 0) {\n alertOK(\"No path found\")\n } else {\n this.walkScript = this.startStepping(10, \"aStarWalkPath\", path)\n }\n // this.walkScript = this.startStepping(10, \"walkUntilReached\", tile)\n this.currentTile().leaveTile(this)\n}","funcProperties":{"__isSmartRef__":true,"id":762},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"761":{"this":{"__isSmartRef__":true,"id":368}},"762":{"timestamp":{"__isSmartRef__":true,"id":763},"user":"timfelgentreff","tags":[]},"763":{"isSerializedDate":true,"string":"Thu May 03 2012 12:42:41 GMT+0200 (CEST)"},"764":{"varMapping":{"__isSmartRef__":true,"id":765},"source":"function currentTile() {\n if ( !this.character || !this.map() ) { return null }\n return this.map().getTileForPosition(\n this.getPosition().addPt(this.character.getBounds().center()))\n}","funcProperties":{"__isSmartRef__":true,"id":766},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"765":{"this":{"__isSmartRef__":true,"id":368}},"766":{"timestamp":{"__isSmartRef__":true,"id":767},"user":"tessi","tags":[]},"767":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:13:47 GMT+0200 (CEST)"},"768":{"varMapping":{"__isSmartRef__":true,"id":769},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":770},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"769":{"this":{"__isSmartRef__":true,"id":368}},"770":{"timestamp":{"__isSmartRef__":true,"id":771},"user":"tessi","tags":[]},"771":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:22:42 GMT+0200 (CEST)"},"772":{"varMapping":{"__isSmartRef__":true,"id":773},"source":"function setCurrentSpeed(arg) {\n this.currentSpeed = arg\n}","funcProperties":{"__isSmartRef__":true,"id":774},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"773":{"this":{"__isSmartRef__":true,"id":368}},"774":{"timestamp":{"__isSmartRef__":true,"id":775},"user":"timfelgentreff","tags":[]},"775":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:47:22 GMT+0200 (CEST)"},"776":{"varMapping":{"__isSmartRef__":true,"id":777},"source":"function getCurrentSpeed() {\n var multiplier = (Date.now() - this.lastSpeedTimestamp) / 10\n this.lastSpeedTimestamp = Date.now()\n return multiplier\n}","funcProperties":{"__isSmartRef__":true,"id":778},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"777":{"this":{"__isSmartRef__":true,"id":368}},"778":{"timestamp":{"__isSmartRef__":true,"id":779},"user":"timfelgentreff","tags":[]},"779":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:55:19 GMT+0200 (CEST)"},"780":{"varMapping":{"__isSmartRef__":true,"id":781},"source":"function isWalking() {\n return !this.getDirection().equals(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":782},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"781":{"this":{"__isSmartRef__":true,"id":368}},"782":{"timestamp":{"__isSmartRef__":true,"id":783},"user":"lauritz","tags":[]},"783":{"isSerializedDate":true,"string":"Fri Apr 27 2012 14:07:33 GMT+0200 (CEST)"},"784":{"varMapping":{"__isSmartRef__":true,"id":785},"source":"function select() {\n this.game().selectedUnit = this\n this.setDevStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":786},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"785":{"this":{"__isSmartRef__":true,"id":368}},"786":{"timestamp":{"__isSmartRef__":true,"id":787},"user":"tessi","tags":[]},"787":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:21:57 GMT+0200 (CEST)"},"788":{"varMapping":{"__isSmartRef__":true,"id":789},"source":"function deselect() {\n this.game().selectedUnit = null\n this.setNormalStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":790},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"789":{"this":{"__isSmartRef__":true,"id":368}},"790":{"timestamp":{"__isSmartRef__":true,"id":791},"user":"tessi","tags":[]},"791":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:20:46 GMT+0200 (CEST)"},"792":{"varMapping":{"__isSmartRef__":true,"id":793},"source":"function becomeRandomCharacter() {\n var characterNames = this.game().partNamesEndingWith(\"Character\")\n this.become(characterNames[Math.round(Math.random() * (characterNames.length - 1))])\n}","funcProperties":{"__isSmartRef__":true,"id":794},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"793":{"this":{"__isSmartRef__":true,"id":368}},"794":{"timestamp":{"__isSmartRef__":true,"id":795},"user":"tessi","tags":[]},"795":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:20:00 GMT+0200 (CEST)"},"796":{"varMapping":{"__isSmartRef__":true,"id":797},"source":"function reset() {\n this.become(null)\n this.submorphs.invoke(\"remove\")\n this.stopStepping()\n this.conversationScript = this.walkScript = this.animateScript = undefined\n this.lastAnswer = this.conversationTurn = this.textBubble = this.isBusy = undefined\n this.setDevStyle()\n this.addMorph(this.lifeBar)\n this.lifeBar.reset()\n this.addMorph(this.deathAnimation)\n this.deathAnimation.reset()\n}","funcProperties":{"__isSmartRef__":true,"id":798},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"797":{"this":{"__isSmartRef__":true,"id":368}},"798":{"timestamp":{"__isSmartRef__":true,"id":799},"user":"timfelgentreff","tags":[]},"799":{"isSerializedDate":true,"string":"Fri May 04 2012 17:22:56 GMT+0200 (CEST)"},"800":{"varMapping":{"__isSmartRef__":true,"id":801},"source":"function setDirectionToTile(tile) {\n var direction = tile.getPosition().subPt(this.getPosition()),\n xDirection = direction.x / Math.abs(direction.x),\n yDirection = direction.y / Math.abs(direction.y)\n this.setDirection(pt(xDirection, yDirection))\n}","funcProperties":{"__isSmartRef__":true,"id":802},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"801":{"this":{"__isSmartRef__":true,"id":368}},"802":{"timestamp":{"__isSmartRef__":true,"id":803},"user":"lauritz","tags":[]},"803":{"isSerializedDate":true,"string":"Fri Apr 27 2012 14:07:33 GMT+0200 (CEST)"},"804":{"varMapping":{"__isSmartRef__":true,"id":805},"source":"function getDirection() {\n return this.direction ? this.direction : pt(0,0)\n}","funcProperties":{"__isSmartRef__":true,"id":806},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"805":{"this":{"__isSmartRef__":true,"id":368}},"806":{"timestamp":{"__isSmartRef__":true,"id":807},"user":"timfelgentreff","tags":[]},"807":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:50:04 GMT+0200 (CEST)"},"808":{"varMapping":{"__isSmartRef__":true,"id":809},"source":"function setDirection(arg) {\n this.direction = arg\n if (this.character && this.character.face) {\n if (arg.x === 0) {\n arg.y > 0 ? this.character.face(\"south\") : this.character.face(\"north\")\n } else if (arg.x === -1) {\n this.character.face(\"west\")\n } else {\n this.character.face(\"east\")\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"809":{"this":{"__isSmartRef__":true,"id":368}},"810":{"timestamp":{"__isSmartRef__":true,"id":811},"user":"timfelgentreff","tags":[]},"811":{"isSerializedDate":true,"string":"Fri May 04 2012 17:36:20 GMT+0200 (CEST)"},"812":{"varMapping":{"__isSmartRef__":true,"id":813},"source":"function setPosition(point) {\n $super(point)\n if (this.game()) {\n this.renderContext().morphNode.style.zIndex = this.game().zIndexForThings() + point.y\n }\n}","funcProperties":{"__isSmartRef__":true,"id":818},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"813":{"this":{"__isSmartRef__":true,"id":368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":814}},"814":{"$super":{"__isSmartRef__":true,"id":815}},"815":{"varMapping":{"__isSmartRef__":true,"id":816},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":817},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"816":{"obj":{"__isSmartRef__":true,"id":368},"name":"setPosition"},"817":{},"818":{"timestamp":{"__isSmartRef__":true,"id":819},"user":"undefined","tags":[]},"819":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:54:50 GMT+0200 (CEST)"},"820":{"varMapping":{"__isSmartRef__":true,"id":821},"source":"function say(aString) {\n if ( !aString ) { return }\n if (!this.textBubble) {\n this.textBubble = this.toolbox(\"TextBubble\")\n this.addMorph(this.textBubble)\n }\n this.textBubble.say(aString)\n}","funcProperties":{"__isSmartRef__":true,"id":822},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"821":{"this":{"__isSmartRef__":true,"id":368}},"822":{"timestamp":{"__isSmartRef__":true,"id":823},"user":"timfelgentreff","tags":[]},"823":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:03:55 GMT+0200 (CEST)"},"824":{"varMapping":{"__isSmartRef__":true,"id":825},"source":"function soliloquize() {\n this.isBusy = true\n // talk to self\n var type = this.characterType()\n if ( type && type.soliloquize ) {\n this.say(type.soliloquize())\n } else {\n this.say(\"...\")\n }\n this.isBusy = false\n}","funcProperties":{"__isSmartRef__":true,"id":826},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"825":{"this":{"__isSmartRef__":true,"id":368}},"826":{"timestamp":{"__isSmartRef__":true,"id":827},"user":"tessi","tags":[]},"827":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:21:54 GMT+0200 (CEST)"},"828":{"varMapping":{"__isSmartRef__":true,"id":829},"source":"function characterType() {\n return this.character\n}","funcProperties":{"__isSmartRef__":true,"id":830},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"829":{"this":{"__isSmartRef__":true,"id":368}},"830":{"timestamp":{"__isSmartRef__":true,"id":831},"user":"timfelgentreff","tags":[]},"831":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:00:25 GMT+0200 (CEST)"},"832":{"varMapping":{"__isSmartRef__":true,"id":833},"source":"function animate(bool) {\n if (bool || (bool === undefined)) {\n this.animateScript = this.startStepping(3000, \"doSomething\", {})\n } else if ( this.animateScript ){\n this.animateScript.stop()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":834},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"833":{"this":{"__isSmartRef__":true,"id":368}},"834":{"timestamp":{"__isSmartRef__":true,"id":835},"user":"lauritz","tags":[]},"835":{"isSerializedDate":true,"string":"Mon May 07 2012 11:01:40 GMT+0200 (CEST)"},"836":{"varMapping":{"__isSmartRef__":true,"id":837},"source":"function doSomething() {\n var r = Math.random()\n if (this.isBusy) { return }\n if (r < 0.1 && r >= 0.03 ) {\n this.startConversation()\n } else if (r < 0.03 ) {\n this.soliloquize()\n } else if (this.character.isPlayer) {\n this.fight()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":838},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"837":{"this":{"__isSmartRef__":true,"id":368}},"838":{"timestamp":{"__isSmartRef__":true,"id":839},"user":"timfelgentreff","tags":[]},"839":{"isSerializedDate":true,"string":"Fri May 04 2012 17:51:09 GMT+0200 (CEST)"},"840":{"varMapping":{"__isSmartRef__":true,"id":841},"source":"function map() {\n return this.owner && this.owner.isMap ? this.owner : undefined\n}","funcProperties":{"__isSmartRef__":true,"id":842},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"841":{"this":{"__isSmartRef__":true,"id":368}},"842":{"timestamp":{"__isSmartRef__":true,"id":843},"user":"lauritz","tags":[]},"843":{"isSerializedDate":true,"string":"Wed May 02 2012 17:43:01 GMT+0200 (CEST)"},"844":{"varMapping":{"__isSmartRef__":true,"id":845},"source":"function game() {\n return this.map() ? this.map().game() : undefined\n}","funcProperties":{"__isSmartRef__":true,"id":846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"845":{"this":{"__isSmartRef__":true,"id":368}},"846":{"timestamp":{"__isSmartRef__":true,"id":847},"user":"undefined","tags":[]},"847":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:32:54 GMT+0200 (CEST)"},"848":{"varMapping":{"__isSmartRef__":true,"id":849},"source":"function setup() {\n this.becomeRandomCharacter()\n this.animate()\n}","funcProperties":{"__isSmartRef__":true,"id":850},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"849":{"this":{"__isSmartRef__":true,"id":368}},"850":{"timestamp":{"__isSmartRef__":true,"id":851},"user":"undefined","tags":[]},"851":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:40:06 GMT+0200 (CEST)"},"852":{"varMapping":{"__isSmartRef__":true,"id":853},"source":"function copyToPartsBinWithUserRequest() {\n this.reset()\n $super()\n}","funcProperties":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"853":{"this":{"__isSmartRef__":true,"id":368},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":854}},"854":{"$super":{"__isSmartRef__":true,"id":855}},"855":{"varMapping":{"__isSmartRef__":true,"id":856},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":857},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"856":{"obj":{"__isSmartRef__":true,"id":368},"name":"copyToPartsBinWithUserRequest"},"857":{},"858":{"timestamp":{"__isSmartRef__":true,"id":859},"user":"tessi","tags":[]},"859":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:40:19 GMT+0200 (CEST)"},"860":{"varMapping":{"__isSmartRef__":true,"id":861},"source":"function startConversation() {\n this.isBusy = true\n var persons = []\n this.currentTile().neighbours().each(function(tile) {\n persons.pushAll(tile.characters())\n })\n persons = persons.select(function(each) { return !each.isBusy })\n if (persons.length > 0) {\n this.startConversationWith(persons[Math.floor(Math.random()*persons.length)])\n } else {\n this.isBusy = false\n }\n}","funcProperties":{"__isSmartRef__":true,"id":862},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"861":{"this":{"__isSmartRef__":true,"id":368}},"862":{"timestamp":{"__isSmartRef__":true,"id":863},"user":"lauritz","tags":[]},"863":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:59:27 GMT+0200 (CEST)"},"864":{"varMapping":{"__isSmartRef__":true,"id":865},"source":"function startConversationWith(character) {\n // I serve as the \"conversation host\" while the other character remains passive\n // The other character is controlled by me\n this.conversationScript = this.startStepping(4000, \"conversation\", {other: character})\n}","funcProperties":{"__isSmartRef__":true,"id":866},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"865":{"this":{"__isSmartRef__":true,"id":368}},"866":{"timestamp":{"__isSmartRef__":true,"id":867},"user":"lauritz","tags":[]},"867":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:57:47 GMT+0200 (CEST)"},"868":{"varMapping":{"__isSmartRef__":true,"id":869},"source":"function shallowCopy() {\n var copy = Morph.makeRectangle(this.bounds()),\n that = this\n Functions.own(this).each(function (ea) {\n copy[ea] = that[ea].asScriptOf(copy, ea)\n })\n \n // also shallow-copy partsBinMetaInfo \n if (this.partsBinMetaInfo) {\n copy.partsBinMetaInfo = this.partsBinMetaInfo\n }\n\n // full copy for death animation and life bar\n copy.lifeBar = this.lifeBar.copy()\n copy.lifeBar.character = copy\n copy.addMorph(copy.lifeBar)\n copy.deathAnimation = this.deathAnimation.copy()\n copy.deathAnimation.character = copy\n copy.addMorph(copy.deathAnimation)\n\n return copy\n}","funcProperties":{"__isSmartRef__":true,"id":870},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"869":{"this":{"__isSmartRef__":true,"id":368}},"870":{"timestamp":{"__isSmartRef__":true,"id":871},"user":"timfelgentreff","tags":[]},"871":{"isSerializedDate":true,"string":"Fri May 04 2012 17:48:29 GMT+0200 (CEST)"},"872":{"varMapping":{"__isSmartRef__":true,"id":873},"source":"function conversation(args) {\n var other = args.other, a, b, stopConversation\n if (this.conversationTurn) {\n a = this; b = other\n } else {\n a = other; b = this\n }\n [a,b].invoke(\"hideTextBubble\")\n if (this.lastAnswer == null) {\n this.conversationScript.stop()\n this.lastAnswer = a.answer(undefined, b, true)\n if (this.lastAnswer) { a.say(this.lastAnswer) }\n var that = this\n setTimeout(function() {\n a.hideTextBubble()\n that.lastAnswer = b.answer(that.lastAnswer, a, true)\n if (that.lastAnswer) { b.say(that.lastAnswer) }\n a.isBusy = false\n b.isBusy = false\n }, 4000)\n }\n this.lastAnswer = a.answer(this.lastAnswer, b, false)\n if (this.lastAnswer) { a.say(this.lastAnswer) }\n this.conversationTurn = !this.conversationTurn\n}","funcProperties":{"__isSmartRef__":true,"id":874},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"873":{"this":{"__isSmartRef__":true,"id":368}},"874":{"timestamp":{"__isSmartRef__":true,"id":875},"user":"lauritz","tags":[]},"875":{"isSerializedDate":true,"string":"Fri Apr 27 2012 14:50:04 GMT+0200 (CEST)"},"876":{"varMapping":{"__isSmartRef__":true,"id":877},"source":"function answer(lastSaid, other, sayGoodbye) {\n // either return a string or null to indicate that you want to stop the conversation\n // when sayGoodbye-flag is set, this is the last answer-call for this conversation\n var type = this.characterType()\n if ( type && type.answer ) {\n return type.answer(lastSaid, other, sayGoodbye)\n } else {\n if (sayGoodbye) {\n return \"Goodbye!\"\n } else {\n if ( Math.random() > 0.2 ) {\n return this.chatBot().answerTo(lastSaid);\n }\n }\n }\n \n}","funcProperties":{"__isSmartRef__":true,"id":878},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"877":{"this":{"__isSmartRef__":true,"id":368}},"878":{"timestamp":{"__isSmartRef__":true,"id":879},"user":"tessi","tags":[]},"879":{"isSerializedDate":true,"string":"Thu May 03 2012 15:09:16 GMT+0200 (CEST)"},"880":{"varMapping":{"__isSmartRef__":true,"id":881},"source":"function hideTextBubble() {\n if (this.textBubble) {\n this.textBubble.hide()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":882},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"881":{"this":{"__isSmartRef__":true,"id":368}},"882":{"timestamp":{"__isSmartRef__":true,"id":883},"user":"tessi","tags":[]},"883":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:16:32 GMT+0200 (CEST)"},"884":{"varMapping":{"__isSmartRef__":true,"id":885},"source":"function aStar(goal) {\n var that = this,\n start = this.currentTile(),\n closedset = [],\n openset = [start], // The set of tentative nodes to be evaluated\n came_from = {}, // The map of navigated nodes.\n g_score = {}, // general cost along best known path (as the bird flies)\n h_score = {}, // heuristic cost - used to drive parameters\n f_score = {} // sum of heuristic and general cost\n\n g_score[start] = 0 // Cost from start along best known path.\n h_score[start] = this.aStarHeuristicCostEstimate(start, goal)\n f_score[start] = g_score[start] + h_score[start] // Estimated total cost from start to goal\n\n while (openset.length > 0) { // Search until we have nothing more to search\n // Pick the next best scored candidate\n var current = openset.sortBy(function (e) { return f_score[e] }).first()\n\n if (current === goal) { // we found a path, construct the whole path and return\n var path = [],\n current_node = current\n while (came_from[current_node]) {\n path.push(current_node)\n current_node = came_from[current_node]\n }\n path.push(current_node)\n return path.reverse()\n }\n\n // We haven't found a path, mark the candidate as checked\n openset = openset.without(current)\n closedset.push(current)\n\n // check all neighbours\n current.neighboursReachableFromHere().each(function (neighbour) {\n if (!closedset.member(neighbour)) {\n // this neighbour can be walked upon and we haven't checked it before\n // assign it a score via the current path\n var tentative_g_score = g_score[current] + current.distanceTo(neighbour).r(),\n tentative_is_better = true\n\n if (!openset.member(neighbour)) {\n // we haven't given this a score before, give it a heuristic score\n openset.push(neighbour)\n h_score[neighbour] = that.aStarHeuristicCostEstimate(neighbour, goal)\n } else if (tentative_g_score >= g_score[neighbour]) {\n // we have given a better score before, this one can be dismissed\n tentative_is_better = false\n }\n\n if (tentative_is_better === true) {\n // the new score we found for this neighbour is better than the previous\n // set the new score and the new path\n came_from[neighbour] = current\n g_score[neighbour] = tentative_g_score\n f_score[neighbour] = g_score[neighbour] + h_score[neighbour]\n }\n }\n })\n }\n return []\n}","funcProperties":{"__isSmartRef__":true,"id":886},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"885":{"this":{"__isSmartRef__":true,"id":368}},"886":{"timestamp":{"__isSmartRef__":true,"id":887},"user":"timfelgentreff","tags":["pathfinding"]},"887":{"isSerializedDate":true,"string":"Thu May 03 2012 13:29:11 GMT+0200 (CEST)"},"888":{"varMapping":{"__isSmartRef__":true,"id":889},"source":"function aStarHeuristicCostEstimate(from, to) {\n // this should be monotonic and consistent\n // see comment to: http://en.wikipedia.org/wiki/A*_search_algorithm#Pseudocode\n return 0\n}","funcProperties":{"__isSmartRef__":true,"id":890},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"889":{"this":{"__isSmartRef__":true,"id":368}},"890":{"timestamp":{"__isSmartRef__":true,"id":891},"user":"timfelgentreff","tags":["pathfinding"]},"891":{"isSerializedDate":true,"string":"Thu May 03 2012 13:17:11 GMT+0200 (CEST)"},"892":{"varMapping":{"__isSmartRef__":true,"id":893},"source":"function aStarWalkPath(path) {\n var minPositive = function (a, b) {\n a = Math.abs(a), b = Math.abs(b)\n return a ? (b ? Math.min(a, b) : a) : b\n }\n\n var finalTile = path.last(),\n nextTile = path.first()\n\n // this.setPosition(pt(0,0))\n if (this.getPosition().equals(finalTile.getPosition())) {\n if (this.walkScript) { this.walkScript.stop() }\n this.setDirection(pt(0,1))\n this.currentTile().enterTile(this)\n } else {\n this.setDirectionToTile(nextTile)\n var directionVector = this.getPosition().subPt(nextTile.getPosition()),\n maxSpeed = minPositive(directionVector.x, directionVector.y),\n speed = Math.min(maxSpeed, this.getCurrentSpeed())\n this.moveBy(this.getDirection().scaleBy(speed))\n if (path.length > 1) { // remove all but the final tile,\n // we need that one for positioning\n var idx = path.indexOf(this.currentTile())\n if (idx > -1) {\n path.removeAt(idx)\n }\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":894},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"893":{"this":{"__isSmartRef__":true,"id":368}},"894":{"timestamp":{"__isSmartRef__":true,"id":895},"user":"lauritz","tags":[]},"895":{"isSerializedDate":true,"string":"Sat May 05 2012 19:26:02 GMT+0200 (CEST)"},"896":{"varMapping":{"__isSmartRef__":true,"id":897},"source":"function chatBot() {\n if ( !this._chatbot ) { this._chatbot = new ChatBot() }\n return this._chatbot\n}","funcProperties":{"__isSmartRef__":true,"id":898},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"897":{"this":{"__isSmartRef__":true,"id":368}},"898":{"timestamp":{"__isSmartRef__":true,"id":899},"user":"tessi","tags":[]},"899":{"isSerializedDate":true,"string":"Thu May 03 2012 15:10:15 GMT+0200 (CEST)"},"900":{"varMapping":{"__isSmartRef__":true,"id":901},"source":"function getHit() {\n this.lifeBar.hit()\n}","funcProperties":{"__isSmartRef__":true,"id":902},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"901":{"this":{"__isSmartRef__":true,"id":368}},"902":{"timestamp":{"__isSmartRef__":true,"id":903},"user":"timfelgentreff","tags":[]},"903":{"isSerializedDate":true,"string":"Fri May 04 2012 17:17:49 GMT+0200 (CEST)"},"904":{"varMapping":{"__isSmartRef__":true,"id":905},"source":"function becomePlayer() {\n if (this.character) {\n this.character.remove()\n this.character = null\n }\n \n this.character = this.toolbox(\"Player\")\n if (this.character) {\n this.character.setExtent(this.character.getExtent().scaleBy(1.2))\n this.character.setPosition(pt(6, -5))\n this.addMorph(this.character)\n this.character.disableEvents()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":906},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"905":{"this":{"__isSmartRef__":true,"id":368}},"906":{"timestamp":{"__isSmartRef__":true,"id":907},"user":"timfelgentreff","tags":[]},"907":{"isSerializedDate":true,"string":"Fri May 04 2012 17:46:36 GMT+0200 (CEST)"},"908":{"varMapping":{"__isSmartRef__":true,"id":909},"source":"function fight() {\n this.isBusy = true\n var persons = []\n this.currentTile().neighbours().each(function(tile) {\n persons.pushAll(tile.characters())\n })\n persons = persons.select(function(each) { return !each.isBusy })\n if (persons.length > 0) {\n var personForFight = persons[Math.floor(Math.random()*persons.length)]\n personForFight.isBusy = true\n if (Math.round(Math.random()) === 0) {\n this.executeFightTurnAsking(this, personForFight)\n } else {\n this.executeFightTurnAsking(personForFight, this)\n }\n } else {\n this.isBusy = false\n }\n}","funcProperties":{"__isSmartRef__":true,"id":910},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"909":{"this":{"__isSmartRef__":true,"id":368}},"910":{"timestamp":{"__isSmartRef__":true,"id":911},"user":"timfelgentreff","tags":[]},"911":{"isSerializedDate":true,"string":"Sat May 05 2012 12:46:40 GMT+0200 (CEST)"},"912":{"varMapping":{"__isSmartRef__":true,"id":913},"source":"function fightPhrases() {\n return {\"This is the END for you, you gutter-crawling cur!\": \"And I've got a little TIP for you, get the POINT?\",\n\t\"Soon you'll be wearing my sword like a shish kebab!\": \"First you better stop waiving it like a feather-duster.\",\n\t\"My handkerchief will wipe up your blood!\": \"So you got that job as janitor, after all.\",\n\t\"People fall at my feet when they see me coming.\": \"Even BEFORE they smell your breath?\",\n\t\"I once owned a dog that was smarter then you.\": \"He must have taught you everything you know.\",\n\t\"You make me want to puke.\": \"You make me think somebody already did.\",\n\t\"Nobody's ever drawn blood from me and nobody ever will.\": \"You run THAT fast?\",\n\t\"You fight like a dairy farmer.\": \"How appropriate. You fight like a cow.\",\n\t\"I got this scar on my face during a mighty struggle!\": \"I hope now you've learned to stop picking your nose.\",\n\t\"Have you stopped wearing diapers yet?\": \"Why, did you want to borrow one?\",\n\t\"I've heard you were a contemptible sneak.\": \"Too bad no one's ever heard of YOU at all.\",\n\t\"You're no match for my brains, you poor fool.\": \"I'd be in real trouble if you ever used them.\",\n\t\"You have the manners of a beggar.\": \"I wanted to make sure you'd feel comfortable with me.\",\n\t\"I'm not going to take your insolence sitting down!\": \"Your hemorrhoids are flaring up again, eh?\",\n\t\"There are no words for how disgusting you are.\": \"Yes there are. You just never learned them.\",\n\t\"I've spoken with apes more polite then you.\": \"I'm glad to hear you attended your family reunion. \",\n\t\"I've got a long, sharp lesson for you you to learn today.\": \"And I've got a little TIP for you. Get the POINT?\",\n\t\"My tongue is sharper then any sword.\": \"First you better stop waving it like a feather-duster.\",\n\t\"My name is feared in every dirty corner of this island!\": \"So you got that job as janitor, after all.\",\n\t\"My wisest enemies run away at the first sight of me!\": \"Even BEFORE they smell your breath?\",\n\t\"Only once have I met such a coward!\": \"He must have taught you everything you know.\",\n\t\"If your brother's like you, better to marry a pig.\": \"You make me think somebody already did.\",\n\t\"No one will ever catch ME fighting as badly as you do.\": \"You run THAT fast?\",\n\t\"I will milk every drop of blood from your body!\": \"How appropriate. You fight like a cow.\",\n\t\"My last fight ended with my hands covered with blood.\": \"I hope now you've learned to stop picking your nose.\",\n\t\"I hope you have a boat ready for a quick escape.\": \"Why, did you want to borrow one?\",\n\t\"My sword is famous all over the Caribbean!\": \"Too bad no one's ever heard of YOU at all.\",\n\t\"I've got the courage and skill of a master swordsman!\": \"I'd be in real trouble if you ever used them.\",\n\t\"Every word you say to me is stupid.\": \"I wanted to make sure you'd feel comfortable with me.\",\n\t\"You are a pain in the backside, sir!\": \"Your hemorrhoids are flaring up again, eh?\",\n\t\"There are no clever moves that can help you now.\": \"Yes there are. You just never learned them.\",\n\t\"Now I know what filth and stupidity really are.\": \"I'm glad to hear you attended your family reunion.\",\n\t\"I usually see people like you passed-out on tavern floors.\": \"Even BEFORE they smell your breath? \",\n\t\"My attacks have left entire islands depopulated!\": \"With your breath, I'm sure they all suffocated.\",\n\t\"You have the sex appeal of a shar-pei!\": \"I look that much like your fiancée?\",\n\t\"When I'm done, your body will be rotted and putrefied!\": \"Then killing you must be justifiable fungicide.\",\n\t\"Your looks would make pigs nauseated!\": \"If you don't count all the ones you've dated.\",\n\t\"Your lips look like they belong on the catch of the day!\": \"When I'm done with you, you'll be a boneless filet.\",\n\t\"I give you a choice. You can be gutted, or decapitated!\": \"With you around, I'd rather be fumigated.\",\n\t\"Never before have I faced someone so sissified!\": \"Is that your face? I thought it was your backside.\",\n\t\"You're a disgrace to your species, you're so undignified!\": \"At least mine can be identified.\",\n\t\"Nothing can stop me from blowing you away!\": \"I could, if you would use some breath spray.\",\n\t\"I have never lost a melee!\": \"You would have, but you were always running away.\",\n\t\"Your mother wears a toupee!\": \"Oh, that is so cliché.\",\n\t\"My skills with a sword are highly venerated!\": \"Too bad they're all fabricated.\",\n\t\"Your stench would make an outhouse cleaner irritated!\": \"Then perhaps you should switch to decaffeinated.\",\n\t\"I can't tell which of my traits have you the most intimidated!\": \"Your odor alone makes me aggravated, agitated, and infuriated\",\n\t\"Nothing on this earth can save your sorry hide!\": \"The only way you'll be preserved is in formaldehyde\",\n\t\"You'll find I'm dogged and relentless to my prey!\": \"Then be a good dog, Sit! Stay! \",\n\t\"Every enemy I have met, I've annihilated!\": \"With your breath, I'm sure they all suffocated.\",\n\t\"You're as repulsive as a monkey in a negligee!\": \"I look that much like your fiancée?\",\n\t\"Killing you would be justifiable homicide!\": \"Then killing you must be justifiable fungicide.\",\n\t\"You're the ugliest monster ever created!\": \"If you don't count all the ones you've dated.\",\n\t\"I'll skewer you like a sow at a buffet!\": \"When I'm done with you, you'll be a boneless filet.\",\n\t\"Would you like to be buried, or cremated?\": \"With you around, I'd rather be fumigated.\",\n\t\"Coming face to face with me must leave you petrified!\": \"Is that your face? I thought it was your backside.\",\n\t\"When your father first saw you, he must have been mortified!\": \"At least mine can be identified.\",\n\t\"You can't match my witty repartee!\": \"I could, if you would use some breath spray.\",\n\t\"I have never seen such clumsy swordplay!\": \"You would have, but you were always running away.\",\n\t\"En Garde! Touché!\": \"Oh, that is so cliché.\",\n\t\"Throughout the Caribbean, my great deeds are celebrated!\": \"Too bad they're all fabricated.\",\n\t\"I can't rest 'til' you've been exterminated!\": \"Then perhaps you should switch to decaffeinated.\",\n\t\"I'll leave you devastated, mutilated, and perforated!\": \"Your odor alone makes me aggravated, agitated, and infuriated\",\n\t\"Heaven preserve me! You look like something that's died!\": \"The only way you'll be preserved is in formaldehyde\",\n\t\"I'll hound you night and day!\": \"Then be a good dog, Sit! Stay! \",\n\t\"Today, by myself, twelve people I've beaten.\": \"From the size of your gut I'd guess they were eaten.\",\n\t\"I've got muscles in places you've never even heard of.\": \"It's too bad none of them are in your arms.\",\n\t\"Give up now, or I'll crush you like a grape!\": \"I would if it would stop your WINE-ING.\",\n\t\"My ninety-eight year old grandmother has bigger arms than you!\": \"Yeah, but we both got better bladder control than you do.\",\n\t\"I'm going to put your arm in a sling!\": \"Why, ya studying to be a nurse?\",\n\t\"My stupefying strength will shatter your ulna into a million pieces!\": \"I'm surprised you can count that high!\",\n\t\"Hey, look over there!\": \"Yeah, yeah I know: it's a three headed monkey.\",\n\t\"Your knuckles I'll grind to a splintery paste.\": \"I thought that the been dip had a strange taste.\",\n\t\"Your arms are no bigger than fleas that I've met!\": \"So THAT'S why you're scratching. I'd go see a vet.\",\n\t\"People consider my fists lethal weapons!\": \"Sadly, your breath should be equally reckoned.\",\n\t\"Only once have I met such a coward!\": \"He must have taught you everything you know.\",\n\t\"You're the ugliest creature I've ever seen in my life.\": \"I'm shocked that you've never gazed at your wife.\",\n\t\"My forearms have been mistaken for tree trunks!\": \"An over-the-counter defoliant could help with that problem.\",\n\t\"I've out-wrestled octopi with these arms!\": \"I'm sure that spineless creatures everywhere are humbled by your might.\",\n\t\"Do I see quivers of agony dance on your lip?\": \"It's laughter that's caused by your feathery grip.\"}\n}","funcProperties":{"__isSmartRef__":true,"id":914},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"913":{"this":{"__isSmartRef__":true,"id":368}},"914":{"timestamp":{"__isSmartRef__":true,"id":915},"user":"timfelgentreff","tags":[]},"915":{"isSerializedDate":true,"string":"Fri May 04 2012 17:54:30 GMT+0200 (CEST)"},"916":{"varMapping":{"__isSmartRef__":true,"id":917},"source":"function randomQuestions(count) {\n if (!count) { count = 8 }\n\n var choices = [],\n questions = Properties.own(this.fightPhrases())\n\n for (var i = 0; i < count; i++) {\n var idx = Math.round(Math.random() * questions.length)\n choices.push(questions[idx])\n questions.removeAt(idx)\n }\n\n return choices\n}","funcProperties":{"__isSmartRef__":true,"id":918},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"917":{"this":{"__isSmartRef__":true,"id":368}},"918":{"timestamp":{"__isSmartRef__":true,"id":919},"user":"timfelgentreff","tags":[]},"919":{"isSerializedDate":true,"string":"Fri May 04 2012 17:56:30 GMT+0200 (CEST)"},"920":{"varMapping":{"__isSmartRef__":true,"id":921},"source":"function randomAnswersFor(question, count) {\n if (!count) { count = 8 }\n\n var choices = [],\n phrases = this.fightPhrases(),\n answers = Properties.own(phrases).collect(function (q) {\n return phrases[q]\n })\n\n choices.push(phrases[question])\n answers.removeAt(Properties.own(phrases).indexOf(question))\n\n for (var i = 1; i < count; i++) {\n var idx = Math.round(Math.random() * answers.length)\n choices.push(answers[idx])\n answers.removeAt(idx)\n }\n\n return choices.sortBy(function (ea) { return Math.random() })\n}","funcProperties":{"__isSmartRef__":true,"id":922},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"921":{"this":{"__isSmartRef__":true,"id":368}},"922":{"timestamp":{"__isSmartRef__":true,"id":923},"user":"lauritz","tags":[]},"923":{"isSerializedDate":true,"string":"Mon May 07 2012 19:18:12 GMT+0200 (CEST)"},"924":{"varMapping":{"__isSmartRef__":true,"id":925},"source":"function executeFightTurnAsking(asker, responder) {\n var menu = this.toolbox(\"FightMenu\"),\n talkTimeout = 4000,\n nextTurnCallback = function (answer, correctAnswer) {\n if (correctAnswer === answer) {\n // switch turns\n asker.executeFightTurnAsking(responder, asker)\n } else {\n responder.getHit()\n if (!responder.isDead()) {\n asker.executeFightTurnAsking(asker, responder)\n }\n }\n }\n\n // Check if the last looser is dead, first\n if (responder.isDead()) {\n responder.isBusy = false\n asker.isBusy = false\n asker.heal()\n asker.select()\n return\n }\n \n // Fight\n if (asker.character.isPlayer) {\n menu.setHeader(\"Choose your insult\")\n menu.setList(asker.randomQuestions(8), function (str) {\n menu.remove()\n asker.say(str)\n setTimeout(function () {\n // the npc has a 1/3 chance of answering right\n var response = responder.randomAnswersFor(str, 3)[Math.round(Math.random() * 2)],\n correctAnswer = responder.randomAnswersFor(str, 1)[0]\n responder.say(response)\n setTimeout(function () {\n nextTurnCallback(response, correctAnswer)\n }, talkTimeout)\n }, talkTimeout)\n })\n asker.map().addMorph(menu)\n menu.setPosition(pt(asker.map().getExtent().x / 2 - menu.getExtent().x / 2, 0))\n } else {\n var question = asker.randomQuestions(1)[0],\n answer = asker.randomAnswersFor(question)[0]\n asker.say(question)\n setTimeout(function () {\n menu.setHeader(\"What do you reply to '\" + question + \"'?\")\n menu.setList(responder.randomAnswersFor(question, 7), function (str) {\n menu.remove()\n responder.say(str)\n setTimeout(function () {\n nextTurnCallback(str, answer)\n }, talkTimeout)\n })\n asker.map().addMorph(menu)\n menu.setPosition(pt(asker.map().getExtent().x / 2 - menu.getExtent().x / 2, 0))\n }, talkTimeout)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"925":{"this":{"__isSmartRef__":true,"id":368}},"926":{"timestamp":{"__isSmartRef__":true,"id":927},"user":"lauritz","tags":[]},"927":{"isSerializedDate":true,"string":"Mon May 07 2012 11:47:46 GMT+0200 (CEST)"},"928":{"varMapping":{"__isSmartRef__":true,"id":929},"source":"function heal() {\n this.lifeBar.heal()\n}","funcProperties":{"__isSmartRef__":true,"id":930},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"929":{"this":{"__isSmartRef__":true,"id":368}},"930":{"timestamp":{"__isSmartRef__":true,"id":931},"user":"timfelgentreff","tags":[]},"931":{"isSerializedDate":true,"string":"Sat May 05 2012 12:38:05 GMT+0200 (CEST)"},"932":{"varMapping":{"__isSmartRef__":true,"id":933},"source":"function isDead() {\n return this.lifeBar.isDead()\n}","funcProperties":{"__isSmartRef__":true,"id":934},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"933":{"this":{"__isSmartRef__":true,"id":368}},"934":{"timestamp":{"__isSmartRef__":true,"id":935},"user":"timfelgentreff","tags":[]},"935":{"isSerializedDate":true,"string":"Sat May 05 2012 12:38:28 GMT+0200 (CEST)"},"936":{"submorphs":[{"__isSmartRef__":true,"id":937}],"scripts":[],"id":"C53E1CC8-A319-4392-A4C6-B0B83C02A306","shape":{"__isSmartRef__":true,"id":1021},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1028},"showsHalos":false,"name":"Game2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1029},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1094},"eventHandler":{"__isSmartRef__":true,"id":1095},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","87B0769B-986A-4D79-BFAE-B54B3C3F0A58","82255771-D93C-4822-98C2-F41964E8DFC4","0F151E1D-2629-4812-B0FB-2AECBA9CA1D5","6B508EC1-502F-4C86-A280-0E55B6B85C09","48577010-5D2A-42AE-959C-11FD0279618E","99804F82-5962-4550-9690-13D89A180816","59862115-B91D-4AFA-B874-B320452EBF58","0539328F-133A-483F-9226-0CEA693718C5","6DD73F39-2A75-4E75-8B95-E6EDE3454548","E26D672F-486A-48EB-9201-E4884357E3B6","5445E7D4-1B6D-4FBB-BA51-DE7EF376C8F5","C436F09D-654F-4E5D-A150-9A8DC296FA42","2CFB4A8D-B758-449D-AAC9-48E75F74617C","25328C21-5292-447C-AF74-5EC4B82321F9","41450BDB-9A2A-4BDC-B411-0DA7E4341A97","9ADCFA0A-B333-4903-9AC2-DC9D2F20D326","D646064C-CA17-4E4A-8CB7-F6C0D542826A","4F0EF1FE-A2F9-4E31-9995-B19AC4AA3613","CDF8DA59-10A7-4F52-9510-81E34055C017","BC86B772-B44E-458F-9A2C-FB64C134C6C5","7E34DFB7-32BC-4DFE-998A-7BB4C0A30B19","0A78678A-8CAF-451B-ACA8-F59A8D5D93C2"],"partTests":{"__isSmartRef__":true,"id":1096},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1101},"prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":1102},"moved":true,"selectedUnit":null,"_ClipMode":"visible","partNamesCache":{"__isSmartRef__":true,"id":1103},"partItemCache":{"__isSmartRef__":true,"id":1104},"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1.0060210561262526,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1334},"__LivelyClassName__":"lively.morphic.Box"},"937":{"submorphs":[],"scripts":[],"id":"70259643-FC01-4E44-8EE5-1F39F6E2A896","shape":{"__isSmartRef__":true,"id":938},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":945},"showsHalos":false,"name":"Map","partsBinMetaInfo":{"__isSmartRef__":true,"id":946},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":955},"eventHandler":{"__isSmartRef__":true,"id":956},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","924C8A83-6557-4E74-952B-903AB05CAAF8","4A9910C2-4BDE-486A-BE6F-FF5C177FE77D","CD2E818C-2B72-4AC9-8E07-7D35B07824D0","AE10EFDE-3AAF-489C-B492-C8B7D5E30C4E","87F87663-B231-47F6-87F3-C582C22A84FB","17A91188-1B56-4DBF-B40E-177C46C8FB28","B76A6F3A-C9AF-4DA1-95A5-CB579C75A46E","05FD59E2-BBEF-4ED5-B3E6-1ED4FB5D5CB0","1DD9994B-B38D-4C95-BDEC-81D2F0803C09","F6BD454A-88B2-4DD0-A7FB-A049D7BAEE29","64220847-9A17-416D-AA60-0335E5665DB6","536C6267-3484-4395-B32D-D6A0EE1A91F6","B1D2F9B1-F93A-4BBB-942B-1CE7B0461227","5E5B1FC7-27F7-4488-92C1-B5E2596F300D","CECB4E3C-9CE4-4216-9A4E-E328BC293161","9DB4A3FE-7E0D-4A59-9B38-D7E6264D8D2F","68297A91-2352-4935-9CB4-BD7B470D0CA5","7F7ADE39-EF84-4D24-8376-CD78F232D552","2CD361BB-5E67-4FBB-9052-C4CF199B0555","49205067-479A-4B01-A35A-330AA8C06923","7B38EDF6-B05C-4C29-A4D6-C9F785CD04FE","FC9B86BC-DF35-487C-8020-A7DAF237AABE"],"partTests":{"__isSmartRef__":true,"id":957},"owner":{"__isSmartRef__":true,"id":936},"distanceToDragEvent":{"__isSmartRef__":true,"id":962},"priorExtent":{"__isSmartRef__":true,"id":963},"prevScroll":[0,0],"tiles":null,"_ClipMode":"visible","isMap":true,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":964},"__LivelyClassName__":"lively.morphic.Box"},"938":{"position":{"__isSmartRef__":true,"id":939},"_Extent":{"__isSmartRef__":true,"id":940},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":941},"_Fill":{"__isSmartRef__":true,"id":942},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":943},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":944},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"939":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"940":{"x":111,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"941":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"942":{"r":1,"g":0.9725138476155526,"b":0.9773063049543793,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"943":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"944":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"945":{"x":18.833408077045906,"y":34.871557807782345,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"946":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Map","changes":[{"__isSmartRef__":true,"id":947},{"__isSmartRef__":true,"id":949},{"__isSmartRef__":true,"id":951},{"__isSmartRef__":true,"id":953}],"revisionOnLoad":156095,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"947":{"date":{"__isSmartRef__":true,"id":948},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"948":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"949":{"date":{"__isSmartRef__":true,"id":950},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"950":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"951":{"date":{"__isSmartRef__":true,"id":952},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"952":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"953":{"date":{"__isSmartRef__":true,"id":954},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"954":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"955":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"956":{"morph":{"__isSmartRef__":true,"id":937},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"957":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":958}},"958":{"test01IsMorph":{"__isSmartRef__":true,"id":959}},"959":{"varMapping":{"__isSmartRef__":true,"id":960},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":961},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"960":{"this":{"__isSmartRef__":true,"id":957}},"961":{},"962":{"x":842.1288685311482,"y":-13.941405677732092,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"963":{"x":112,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"964":{"mapTileSize":{"__isSmartRef__":true,"id":965},"mapExtent":{"__isSmartRef__":true,"id":969},"toolbox":{"__isSmartRef__":true,"id":973},"setup":{"__isSmartRef__":true,"id":977},"emptyMap":{"__isSmartRef__":true,"id":981},"reset":{"__isSmartRef__":true,"id":985},"setDevStyle":{"__isSmartRef__":true,"id":989},"setNormalStyle":{"__isSmartRef__":true,"id":993},"tileSize":{"__isSmartRef__":true,"id":997},"getTileForPosition":{"__isSmartRef__":true,"id":1001},"setupTiles":{"__isSmartRef__":true,"id":1005},"setupUnits":{"__isSmartRef__":true,"id":1009},"setupThings":{"__isSmartRef__":true,"id":1013},"game":{"__isSmartRef__":true,"id":1017}},"965":{"varMapping":{"__isSmartRef__":true,"id":966},"source":"function mapTileSize() {\n return pt(26, 19)\n}","funcProperties":{"__isSmartRef__":true,"id":967},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"966":{"this":{"__isSmartRef__":true,"id":937}},"967":{"timestamp":{"__isSmartRef__":true,"id":968},"user":"tessi","tags":[]},"968":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:38:39 GMT+0200 (CEST)"},"969":{"varMapping":{"__isSmartRef__":true,"id":970},"source":"function mapExtent() {\n return this.mapTileSize().scaleByPt(this.toolbox(\"Tile\").tileSize())\n}","funcProperties":{"__isSmartRef__":true,"id":971},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"970":{"this":{"__isSmartRef__":true,"id":937}},"971":{"timestamp":{"__isSmartRef__":true,"id":972},"user":"timfelgentreff","tags":[]},"972":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:43:22 GMT+0200 (CEST)"},"973":{"varMapping":{"__isSmartRef__":true,"id":974},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":975},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"974":{"this":{"__isSmartRef__":true,"id":937}},"975":{"timestamp":{"__isSmartRef__":true,"id":976},"user":"tessi","tags":[]},"976":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:08:47 GMT+0200 (CEST)"},"977":{"varMapping":{"__isSmartRef__":true,"id":978},"source":"function setup() {\n this.setExtent(this.mapExtent())\n\n this.setupTiles()\n try { this.setupUnits() } catch(e) { }\n try { this.setupThings() } catch(e) { }\n\n this.setNormalStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":979},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"978":{"this":{"__isSmartRef__":true,"id":937}},"979":{"timestamp":{"__isSmartRef__":true,"id":980},"user":"lauritz","tags":[]},"980":{"isSerializedDate":true,"string":"Mon May 07 2012 19:00:50 GMT+0200 (CEST)"},"981":{"varMapping":{"__isSmartRef__":true,"id":982},"source":"function emptyMap() {\n this.removeAllMorphs()\n this.game().reset()\n this.tiles = null\n}","funcProperties":{"__isSmartRef__":true,"id":983},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"982":{"this":{"__isSmartRef__":true,"id":937}},"983":{"timestamp":{"__isSmartRef__":true,"id":984},"user":"tessi","tags":[]},"984":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:07:01 GMT+0200 (CEST)"},"985":{"varMapping":{"__isSmartRef__":true,"id":986},"source":"function reset() {\n this.emptyMap()\n this.setup()\n}","funcProperties":{"__isSmartRef__":true,"id":987},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"986":{"this":{"__isSmartRef__":true,"id":937}},"987":{"timestamp":{"__isSmartRef__":true,"id":988},"user":"timfelgentreff","tags":[]},"988":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:33:22 GMT+0200 (CEST)"},"989":{"varMapping":{"__isSmartRef__":true,"id":990},"source":"function setDevStyle() {\n this.submorphs.invoke(\"setDevStyle\")\n}","funcProperties":{"__isSmartRef__":true,"id":991},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"990":{"this":{"__isSmartRef__":true,"id":937}},"991":{"timestamp":{"__isSmartRef__":true,"id":992},"user":"tessi","tags":[]},"992":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:31:57 GMT+0200 (CEST)"},"993":{"varMapping":{"__isSmartRef__":true,"id":994},"source":"function setNormalStyle() {\n this.submorphs.invoke(\"setNormalStyle\")\n}","funcProperties":{"__isSmartRef__":true,"id":995},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"994":{"this":{"__isSmartRef__":true,"id":937}},"995":{"timestamp":{"__isSmartRef__":true,"id":996},"user":"tessi","tags":[]},"996":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:32:13 GMT+0200 (CEST)"},"997":{"varMapping":{"__isSmartRef__":true,"id":998},"source":"function tileSize() {\n return this.toolbox(\"Tile\").tileSize()\n}","funcProperties":{"__isSmartRef__":true,"id":999},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"998":{"this":{"__isSmartRef__":true,"id":937}},"999":{"timestamp":{"__isSmartRef__":true,"id":1000},"user":"timfelgentreff","tags":[]},"1000":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:43:55 GMT+0200 (CEST)"},"1001":{"varMapping":{"__isSmartRef__":true,"id":1002},"source":"function getTileForPosition(point) {\n var column = Math.floor(point.x / this.tileSize().x),\n row = Math.floor(point.y / this.tileSize().y)\n\n return this.tiles[column][row]\n}","funcProperties":{"__isSmartRef__":true,"id":1003},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1002":{"this":{"__isSmartRef__":true,"id":937}},"1003":{"timestamp":{"__isSmartRef__":true,"id":1004},"user":"timfelgentreff","tags":[]},"1004":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:04:22 GMT+0200 (CEST)"},"1005":{"varMapping":{"__isSmartRef__":true,"id":1006},"source":"function setupTiles() {\n this.tiles = []\n for(var column = 0; column < this.mapTileSize().x; column++) {\n this.tiles[column] = []\n }\n for(var row = 0; row < this.mapTileSize().y; row++) {\n for(var column = 0; column < this.mapTileSize().x; column++) {\n var currentTile = this.toolbox(\"Tile\")\n this.tiles[column][row] = currentTile\n currentTile.setGridPosition(column, row)\n currentTile.setNormalStyle()\n this.addMorph(currentTile)\n if (Math.random() < 0.04 ) {\n currentTile.become(\"FlowerGrassTile\")\n } else {\n currentTile.become(\"GrassTile\")\n }\n currentTile.disableGrabbing()\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1007},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1006":{"this":{"__isSmartRef__":true,"id":937}},"1007":{"timestamp":{"__isSmartRef__":true,"id":1008},"user":"timfelgentreff","tags":[]},"1008":{"isSerializedDate":true,"string":"Fri May 04 2012 15:31:00 GMT+0200 (CEST)"},"1009":{"varMapping":{"__isSmartRef__":true,"id":1010},"source":"function setupUnits() {\n var numberOfUnits = Math.round(Math.random() * 5 + 5),\n xPosition, yPosition,\n maxX = this.mapTileSize().x - 4,\n maxY = this.mapTileSize().y - 4\n\n for (var x = 0; x <= numberOfUnits; x++) {\n xPosition = Math.round(Math.random() * maxX + 2)\n yPosition = Math.round(Math.random() * maxY + 2)\n var currentUnit = this.toolbox(\"Character\"),\n tile\n this.addMorph(currentUnit)\n currentUnit.setNormalStyle()\n tile = this.tiles[xPosition][yPosition]\n currentUnit.setPosition(tile.getPosition())\n tile.enterTile(currentUnit)\n x === 0 ? currentUnit.becomePlayer() : currentUnit.becomeRandomCharacter()\n currentUnit.animate()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1011},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1010":{"this":{"__isSmartRef__":true,"id":937}},"1011":{"timestamp":{"__isSmartRef__":true,"id":1012},"user":"lauritz","tags":[]},"1012":{"isSerializedDate":true,"string":"Mon May 07 2012 11:34:12 GMT+0200 (CEST)"},"1013":{"varMapping":{"__isSmartRef__":true,"id":1014},"source":"function setupThings() {\n var numberOfThings = Math.round(Math.random() * 5 + 5),\n xPosition, yPosition,\n maxX = this.mapTileSize().x - 4,\n maxY = this.mapTileSize().y - 4\n\n for (var x = 0; x <= numberOfThings; x++) {\n xPosition = Math.round(Math.random() * maxX + 2)\n yPosition = Math.round(Math.random() * maxY + 2)\n var currentThing = this.toolbox(\"Thing\")\n currentThing.dropOn(this.tiles[xPosition][yPosition])\n currentThing.setNormalStyle()\n currentThing.becomeRandomThing()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1015},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1014":{"this":{"__isSmartRef__":true,"id":937}},"1015":{"timestamp":{"__isSmartRef__":true,"id":1016},"user":"timfelgentreff","tags":[]},"1016":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:06:33 GMT+0200 (CEST)"},"1017":{"varMapping":{"__isSmartRef__":true,"id":1018},"source":"function game() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1019},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1018":{"this":{"__isSmartRef__":true,"id":937}},"1019":{"timestamp":{"__isSmartRef__":true,"id":1020},"user":"tessi","tags":[]},"1020":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:08:01 GMT+0200 (CEST)"},"1021":{"position":{"__isSmartRef__":true,"id":1022},"_Extent":{"__isSmartRef__":true,"id":1023},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1024},"_Fill":{"__isSmartRef__":true,"id":1025},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1026},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1027},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1022":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1023":{"x":152.42020864300957,"y":154.90489808792987,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1024":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1025":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1026":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1027":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1028":{"x":597.3012455810967,"y":338.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1029":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"The map and playing field","migrationLevel":4,"partName":"Game","changes":[{"__isSmartRef__":true,"id":1030},{"__isSmartRef__":true,"id":1032},{"__isSmartRef__":true,"id":1034},{"__isSmartRef__":true,"id":1036},{"__isSmartRef__":true,"id":1038},{"__isSmartRef__":true,"id":1040},{"__isSmartRef__":true,"id":1042},{"__isSmartRef__":true,"id":1044},{"__isSmartRef__":true,"id":1046},{"__isSmartRef__":true,"id":1048},{"__isSmartRef__":true,"id":1050},{"__isSmartRef__":true,"id":1052},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":1058},{"__isSmartRef__":true,"id":1060},{"__isSmartRef__":true,"id":1062},{"__isSmartRef__":true,"id":1064},{"__isSmartRef__":true,"id":1066},{"__isSmartRef__":true,"id":1068},{"__isSmartRef__":true,"id":1070},{"__isSmartRef__":true,"id":1072},{"__isSmartRef__":true,"id":1074},{"__isSmartRef__":true,"id":1076},{"__isSmartRef__":true,"id":1078},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1082},{"__isSmartRef__":true,"id":1084},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1092}],"revisionOnLoad":159894,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1030":{"date":{"__isSmartRef__":true,"id":1031},"author":"lauritz","message":"normal-styled tiles at the beginning","id":"B7823FED-4B48-458E-9C42-0CE743ADCF93"},"1031":{"isSerializedDate":true,"string":"Mon May 07 2012 19:01:08 GMT+0200 (CEST)"},"1032":{"date":{"__isSmartRef__":true,"id":1033},"author":"timfelgentreff","message":"add a player","id":"D427AD7F-610C-4DB0-8783-DC6652015178"},"1033":{"isSerializedDate":true,"string":"Fri May 04 2012 17:41:04 GMT+0200 (CEST)"},"1034":{"date":{"__isSmartRef__":true,"id":1035},"author":"timfelgentreff","message":"fix for non-shallowCopy toolbox items","id":"A6B99BEA-DE24-4559-B954-13A0EBC1E1DF"},"1035":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:13:35 GMT+0200 (CEST)"},"1036":{"date":{"__isSmartRef__":true,"id":1037},"author":"timfelgentreff","message":"merge lauritz' changes","id":"51463A4E-AEC0-4BEC-AEFB-33478C31225F"},"1037":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:08:15 GMT+0200 (CEST)"},"1038":{"date":{"__isSmartRef__":true,"id":1039},"author":"timfelgentreff","message":"use shallowCopy for tiles","id":"D4325DFA-12D5-4A97-BAE7-F6B2A0430EA5"},"1039":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:54:36 GMT+0200 (CEST)"},"1040":{"date":{"__isSmartRef__":true,"id":1041},"author":"tessi","message":"map now generates some flower tiles too","id":"C1AFA3CF-CD73-432A-AC79-144C9B5D433B"},"1041":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:58:01 GMT+0200 (CEST)"},"1042":{"date":{"__isSmartRef__":true,"id":1043},"author":"timfelgentreff","message":"fix setup things","id":"5F7A588C-AB63-49EB-80E4-3083A569EBCD"},"1043":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:32:14 GMT+0200 (CEST)"},"1044":{"date":{"__isSmartRef__":true,"id":1045},"author":"timfelgentreff","message":"add generation of things","id":"87868D79-001D-4B0E-A435-649B4906FEF0"},"1045":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:20:14 GMT+0200 (CEST)"},"1046":{"date":{"__isSmartRef__":true,"id":1047},"author":"timfelgentreff","message":"add a method to get the names of part items ending with a particular string, minus that string.. can be used to get all characters, things or tiles","id":"65C4FFB1-1E22-4575-A6B7-11A226A7B0E5"},"1047":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:24:39 GMT+0200 (CEST)"},"1048":{"date":{"__isSmartRef__":true,"id":1049},"author":"timfelgentreff","message":"","id":"A0C26B2F-3323-421E-94FB-E5E6180AD81C"},"1049":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:37 GMT+0200 (CEST)"},"1050":{"date":{"__isSmartRef__":true,"id":1051},"author":"timfelgentreff","message":"","id":"10677F89-3177-4F33-9511-5BB0E21E2DEB"},"1051":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:11:07 GMT+0200 (CEST)"},"1052":{"date":{"__isSmartRef__":true,"id":1053},"author":"lauritz","message":"alias toolbox","id":"FECC8EA9-60A5-4B3B-A8C3-017FF0CEFE02"},"1053":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:16:41 GMT+0200 (CEST)"},"1054":{"date":{"__isSmartRef__":true,"id":1055},"author":"timfelgentreff","message":"","id":"AE4850E0-F8B8-442E-9A28-2388D0500FC1"},"1055":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:07:33 GMT+0200 (CEST)"},"1056":{"date":{"__isSmartRef__":true,"id":1057},"author":"timfelgentreff","message":"","id":"666459AF-F338-4900-A325-0A193313D463"},"1057":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:37:03 GMT+0200 (CEST)"},"1058":{"date":{"__isSmartRef__":true,"id":1059},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1059":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1060":{"date":{"__isSmartRef__":true,"id":1061},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1061":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1062":{"date":{"__isSmartRef__":true,"id":1063},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1063":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1064":{"date":{"__isSmartRef__":true,"id":1065},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1065":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1066":{"date":{"__isSmartRef__":true,"id":1067},"author":"timfelgentreff","message":"","id":"3DF6DA7F-0492-4EC2-B626-E65ED2F0CDF2"},"1067":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:07:30 GMT+0200 (CEST)"},"1068":{"date":{"__isSmartRef__":true,"id":1069},"author":"timfelgentreff","message":"","id":"DE3BE79D-EDA8-415F-9405-95CDD1774577"},"1069":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:14:52 GMT+0200 (CEST)"},"1070":{"date":{"__isSmartRef__":true,"id":1071},"author":"timfelgentreff","message":"","id":"AE514D08-62FA-410B-9287-72917FA6B563"},"1071":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:26:55 GMT+0200 (CEST)"},"1072":{"date":{"__isSmartRef__":true,"id":1073},"author":"timfelgentreff","message":"","id":"89954E3F-B4E1-49D9-9969-AB27CE0CBABD"},"1073":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:27:06 GMT+0200 (CEST)"},"1074":{"date":{"__isSmartRef__":true,"id":1075},"author":"timfelgentreff","message":"","id":"3B4FAF4F-0D7A-47F9-9247-47D6649688B6"},"1075":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:33:44 GMT+0200 (CEST)"},"1076":{"date":{"__isSmartRef__":true,"id":1077},"author":"timfelgentreff","message":"","id":"8A61D4CF-17A8-4B0E-AD01-3807E28FAD9E"},"1077":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:05:44 GMT+0200 (CEST)"},"1078":{"date":{"__isSmartRef__":true,"id":1079},"author":"tessi","message":"animate characters after they are placed on the map","id":"995FC3A0-7B17-472B-9796-435F68A99C41"},"1079":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:23:57 GMT+0200 (CEST)"},"1080":{"date":{"__isSmartRef__":true,"id":1081},"author":"tessi","message":"animate","id":"8E4CF411-945C-4251-8FDB-35D3225B7CB3"},"1081":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:28:07 GMT+0200 (CEST)"},"1082":{"date":{"__isSmartRef__":true,"id":1083},"author":"timfelgentreff","message":"catch errors during setup","id":"D1EAF47B-BBBB-493B-BB78-CFE149FB951F"},"1083":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:32:35 GMT+0200 (CEST)"},"1084":{"date":{"__isSmartRef__":true,"id":1085},"author":"timfelgentreff","message":"no comment","id":"5BD4709D-F345-48A8-B0A9-618209647AC0"},"1085":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:41:52 GMT+0200 (CEST)"},"1086":{"date":{"__isSmartRef__":true,"id":1087},"author":"tessi","message":"replace this.get(\"Game\") with this.game() calls","id":"4DD20E29-B711-4483-B963-CA6EEC46FFC1"},"1087":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:09:50 GMT+0200 (CEST)"},"1088":{"date":{"__isSmartRef__":true,"id":1089},"author":"timfelgentreff","message":"cache shallowCopy'able things","id":"645744AA-3EED-4686-99B2-ADEF3F3E34DC"},"1089":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:30:37 GMT+0200 (CEST)"},"1090":{"date":{"__isSmartRef__":true,"id":1091},"author":"timfelgentreff","message":"build tiles rows-first, to fix zIndex of things","id":"6A13BB1F-4974-4E80-8BD3-76B74371CC74"},"1091":{"isSerializedDate":true,"string":"Fri May 04 2012 15:31:50 GMT+0200 (CEST)"},"1092":{"date":{"__isSmartRef__":true,"id":1093},"author":"lauritz","message":"register characters at setup: let the fights begin!","id":"1CB8B3D0-A7FB-4673-8D71-D7FB4D423990"},"1093":{"isSerializedDate":true,"string":"Mon May 07 2012 11:37:01 GMT+0200 (CEST)"},"1094":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1095":{"morph":{"__isSmartRef__":true,"id":936},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1096":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1097}},"1097":{"test01IsMorph":{"__isSmartRef__":true,"id":1098}},"1098":{"varMapping":{"__isSmartRef__":true,"id":1099},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1099":{"this":{"__isSmartRef__":true,"id":1096}},"1100":{},"1101":{"x":150.43217868297958,"y":151.9228531478849,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1102":{"x":108,"y":-11.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1103":{"Character":["Villagegirl","Scientist","Octocat","Ogre","Coder","Villager"],"Thing":["Fire","Stone","Woodstack","Tree","Parasol"]},"1104":{"Tile":{"__isSmartRef__":true,"id":1105}},"1105":{"submorphs":[],"scripts":[],"id":"2AF3552A-8AA9-4935-B5C3-725B93CBB885","shape":{"__isSmartRef__":true,"id":1106},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1112},"showsHalos":false,"name":"Tile","partsBinMetaInfo":{"__isSmartRef__":true,"id":1113},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1216},"eventHandler":{"__isSmartRef__":true,"id":1217},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","DF863BAB-9987-4611-BCD2-DE9FDCE7D3B5","768ED97D-1E05-415B-AB3F-B6495AC603A0","5A0ECA63-F6E2-4E35-B9A2-75DE2A4C4158","3B4EDC8A-0E99-4F45-A6D5-5CCE7E75BC88","1A900574-7D84-44F3-BB9D-1A1E26FDDB9B","383B3B54-4D0D-42E5-88C6-460045549029","EFC22A04-8B3C-48A8-9C5F-1EBC66DFD6D6","52D7E09F-EA1F-44D5-A893-F72A70D40429","CAC332B2-DA3A-4534-B3C7-E03D31DE9D2C","2CDD083E-3AB7-4BB9-B6D1-A70716226BDF","5044B03C-1B55-48CB-9DE6-3844ED1FCD7D","F5F5A304-DAA0-4649-9CDE-605226A1CE51","4BC91A43-D259-43A1-819C-B2FE6CB08399","92B467E3-3189-4EFE-9BFB-4AF361018F35","A6B1593D-21F4-49B7-ABC8-FB9FACE91746","2598E54C-7F59-4753-8889-AEFE09E2CAC0","179AF98E-33AB-4114-B55B-4DFB00BDBDA8","AD778DCD-FF13-4F2E-AB38-F63BA8A15C58","04E48596-4C98-445F-B60B-2348EF53930E","BB54A7B7-E7CB-41C0-B027-77AB7D9BF27E","8DFD2C9E-23E1-41AF-8968-A62A3DE71693","2D8830D3-1DB9-4797-9AE8-20CA03139825","BD54D555-6E94-48EB-8C62-8F80A32960EA","F46B080F-9459-4295-8DB2-BED5809251AE","6A43BDE1-6AC7-4008-9AD0-06385EE78307","C3AB7721-B23E-4DAB-BE9A-22733BC3382E","1E1907C1-2AD2-452E-BADD-54F706B3B910","50E5C852-3D41-4257-AFF7-7EF1CEEC15E3","12768283-E36A-48B6-AB18-6384D99ADA14","A4849D36-6340-4578-BAFB-53E4D17027D7","12E4C56B-9222-43E4-9620-C41E062EBAC7","0212C096-5FD3-45BB-BABB-E16293175AB7","73176B5A-836A-48B2-9003-38573BE53D84","FA828EF3-B4D3-4543-83BE-FA33CE63F260","CBD9C7C8-3FA1-47AE-9C23-CCC4E7C7ED3A"],"partTests":{"__isSmartRef__":true,"id":1218},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1223},"moved":true,"_ClipMode":"visible","__obstacles":[],"row":5,"column":1,"terrain":null,"grabbingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1224},"prevScroll":[0,0],"_Rotation":0,"_Scale":1.0120783653693808,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1225},"__LivelyClassName__":"lively.morphic.Box"},"1106":{"position":{"__isSmartRef__":true,"id":1107},"_Extent":{"__isSmartRef__":true,"id":1108},"_BorderWidth":1.148,"_BorderColor":{"__isSmartRef__":true,"id":1109},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1110},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1111},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1107":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1108":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1109":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1110":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1111":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1112":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1113":{"partsSpaceName":"PartsBin/FreedomOfSpeech","__SourceModuleName__":"Global.lively.PartsBin","comment":"A thing that renders itself onto a tile and tells the occluded tiles about the obstacle","migrationLevel":4,"partName":"Tile","changes":[{"__isSmartRef__":true,"id":1114},{"__isSmartRef__":true,"id":1116},{"__isSmartRef__":true,"id":1118},{"__isSmartRef__":true,"id":1120},{"__isSmartRef__":true,"id":1122},{"__isSmartRef__":true,"id":1124},{"__isSmartRef__":true,"id":1126},{"__isSmartRef__":true,"id":1128},{"__isSmartRef__":true,"id":1130},{"__isSmartRef__":true,"id":1132},{"__isSmartRef__":true,"id":1134},{"__isSmartRef__":true,"id":1136},{"__isSmartRef__":true,"id":1138},{"__isSmartRef__":true,"id":1140},{"__isSmartRef__":true,"id":1142},{"__isSmartRef__":true,"id":1144},{"__isSmartRef__":true,"id":1146},{"__isSmartRef__":true,"id":1148},{"__isSmartRef__":true,"id":1150},{"__isSmartRef__":true,"id":1152},{"__isSmartRef__":true,"id":1154},{"__isSmartRef__":true,"id":1156},{"__isSmartRef__":true,"id":1158},{"__isSmartRef__":true,"id":1160},{"__isSmartRef__":true,"id":1162},{"__isSmartRef__":true,"id":1164},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1180},{"__isSmartRef__":true,"id":1182},{"__isSmartRef__":true,"id":1184},{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1188},{"__isSmartRef__":true,"id":1190},{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1194},{"__isSmartRef__":true,"id":1196},{"__isSmartRef__":true,"id":1198},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1202},{"__isSmartRef__":true,"id":1204},{"__isSmartRef__":true,"id":1206},{"__isSmartRef__":true,"id":1208},{"__isSmartRef__":true,"id":1210},{"__isSmartRef__":true,"id":1212},{"__isSmartRef__":true,"id":1214}],"revisionOnLoad":159891,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1114":{"date":{"__isSmartRef__":true,"id":1115},"author":"lauritz","message":"difference between dev and normal style in border-width","id":"3001D4D8-C44F-49E0-8101-5726A7ACFD8F"},"1115":{"isSerializedDate":true,"string":"Mon May 07 2012 18:54:58 GMT+0200 (CEST)"},"1116":{"date":{"__isSmartRef__":true,"id":1117},"author":"tessi","message":"cannot set color to null","id":"A33818D9-5418-451A-86B6-17C0E01E3D95"},"1117":{"isSerializedDate":true,"string":"Thu May 03 2012 15:20:35 GMT+0200 (CEST)"},"1118":{"date":{"__isSmartRef__":true,"id":1119},"author":"timfelgentreff","message":"no comment","id":"3D7FD71F-6695-46ED-915B-DACB2BDD66EC"},"1119":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:17:11 GMT+0200 (CEST)"},"1120":{"date":{"__isSmartRef__":true,"id":1121},"author":"tessi","message":"","id":"CDFC653A-73C4-4FEF-BF2F-E515698C9D49"},"1121":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:40:27 GMT+0200 (CEST)"},"1122":{"date":{"__isSmartRef__":true,"id":1123},"author":"tessi","message":"cache Neighbours","id":"5AE79688-A888-4376-8A8F-63679330D24C"},"1123":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:34:19 GMT+0200 (CEST)"},"1124":{"date":{"__isSmartRef__":true,"id":1125},"author":"tessi","message":"let characters register themself when enter/leave the tile","id":"9095AE1D-1FE5-44A4-9A4E-C9C39B1C4F40"},"1125":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:48 GMT+0200 (CEST)"},"1126":{"date":{"__isSmartRef__":true,"id":1127},"author":"timfelgentreff","message":"Use a cache and shallow copying for become(terrain); fix onMouseDown when not in a Map","id":"9846F542-FBA4-4E6E-95E7-760FEC0B1848"},"1127":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:12:58 GMT+0200 (CEST)"},"1128":{"date":{"__isSmartRef__":true,"id":1129},"author":"lauritz","message":"","id":"AC05F3B3-162F-4A75-A601-EA5F744AC530"},"1129":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:25:17 GMT+0200 (CEST)"},"1130":{"date":{"__isSmartRef__":true,"id":1131},"author":"timfelgentreff","message":"revert last commit","id":"DEE21763-B63C-41AF-917B-4481E54000AF"},"1131":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:53:55 GMT+0200 (CEST)"},"1132":{"date":{"__isSmartRef__":true,"id":1133},"author":"timfelgentreff","message":"uncomment return","id":"21656693-2A83-4D04-9612-55622B41EB18"},"1133":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:46:38 GMT+0200 (CEST)"},"1134":{"date":{"__isSmartRef__":true,"id":1135},"author":"timfelgentreff","message":"fix shallowCopy","id":"5DDF2C7F-DEE5-4161-A515-B5831A00DCB3"},"1135":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:13:27 GMT+0200 (CEST)"},"1136":{"date":{"__isSmartRef__":true,"id":1137},"author":"timfelgentreff","message":"add shallowCopy","id":"86DCAE73-A5D2-470F-BF0E-77E914236CEA"},"1137":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:10:22 GMT+0200 (CEST)"},"1138":{"date":{"__isSmartRef__":true,"id":1139},"author":"timfelgentreff","message":"no comment","id":"181F2453-F14A-4CC7-BFF0-910480CD4B1F"},"1139":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:39:23 GMT+0200 (CEST)"},"1140":{"date":{"__isSmartRef__":true,"id":1141},"author":"timfelgentreff","message":"show obstacle state in dev style","id":"9FD0FE89-0EE1-4499-B055-D2C077CCEACA"},"1141":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:37:34 GMT+0200 (CEST)"},"1142":{"date":{"__isSmartRef__":true,"id":1143},"author":"timfelgentreff","message":"no comment","id":"4571845C-4F67-4DD6-954F-B93B98F8DDF3"},"1143":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:35:25 GMT+0200 (CEST)"},"1144":{"date":{"__isSmartRef__":true,"id":1145},"author":"timfelgentreff","message":"fix adding obstacles","id":"891954C6-3DC3-41AC-8038-4E7C028B0147"},"1145":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:50:37 GMT+0200 (CEST)"},"1146":{"date":{"__isSmartRef__":true,"id":1147},"author":"timfelgentreff","message":"things support","id":"DD13E7D3-6948-4B69-947A-24A2B084646B"},"1147":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:31:58 GMT+0200 (CEST)"},"1148":{"date":{"__isSmartRef__":true,"id":1149},"author":"timfelgentreff","message":"change obstacle logic, adds support for a list of obstacles. obstacles can be added and removed","id":"0EF07087-0018-425F-AB43-3F843AFCB7E1"},"1149":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:16:14 GMT+0200 (CEST)"},"1150":{"date":{"__isSmartRef__":true,"id":1151},"author":"timfelgentreff","message":"a thing that renders itself onto a tile and tells the occluded tiles about the obstacle","id":"ADB36180-974D-4994-9149-6318E7F62D62"},"1151":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:29:15 GMT+0200 (CEST)"},"1152":{"date":{"__isSmartRef__":true,"id":1153},"author":"timfelgentreff","message":"","id":"712D65D3-A68A-47B9-AFDC-B20E826217DB"},"1153":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:00:26 GMT+0200 (CEST)"},"1154":{"date":{"__isSmartRef__":true,"id":1155},"author":"timfelgentreff","message":"","id":"DF45FC66-1C49-447D-914F-A905DA0AECB2"},"1155":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:47 GMT+0200 (CEST)"},"1156":{"date":{"__isSmartRef__":true,"id":1157},"author":"timfelgentreff","message":"","id":"6D9186F6-64FC-48E0-95AF-27E462A13E1D"},"1157":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:55:04 GMT+0200 (CEST)"},"1158":{"date":{"__isSmartRef__":true,"id":1159},"author":"timfelgentreff","message":"","id":"24121E2C-3B59-48EF-8026-290C8D296496"},"1159":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:02:53 GMT+0200 (CEST)"},"1160":{"date":{"__isSmartRef__":true,"id":1161},"author":"timfelgentreff","message":"","id":"F4CC9F23-A50B-4206-A549-A610CC9C69AC"},"1161":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:11:38 GMT+0200 (CEST)"},"1162":{"date":{"__isSmartRef__":true,"id":1163},"author":"timfelgentreff","message":"","id":"563A8831-9CE6-49D1-B87D-453B761FB751"},"1163":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:53 GMT+0200 (CEST)"},"1164":{"date":{"__isSmartRef__":true,"id":1165},"author":"timfelgentreff","message":"","id":"E1AA7A8A-D3C5-4263-9A1E-91C13F532ED6"},"1165":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:23:55 GMT+0200 (CEST)"},"1166":{"date":{"__isSmartRef__":true,"id":1167},"author":"timfelgentreff","message":"","id":"0672C6C8-D032-495B-B9EE-E41F194C86DE"},"1167":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:19:15 GMT+0200 (CEST)"},"1168":{"date":{"__isSmartRef__":true,"id":1169},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1169":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1170":{"date":{"__isSmartRef__":true,"id":1171},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1171":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1172":{"date":{"__isSmartRef__":true,"id":1173},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1173":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1174":{"date":{"__isSmartRef__":true,"id":1175},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1175":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1176":{"date":{"__isSmartRef__":true,"id":1177},"author":"timfelgentreff","message":"","id":"DE0AC226-458D-416E-A42C-BAA848650C4C"},"1177":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:28:14 GMT+0200 (CEST)"},"1178":{"date":{"__isSmartRef__":true,"id":1179},"author":"lauritz","message":"","id":"CFD35308-806E-4804-8706-15DA1CEC5743"},"1179":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:49:16 GMT+0200 (CEST)"},"1180":{"date":{"__isSmartRef__":true,"id":1181},"author":"timfelgentreff","message":"","id":"18365ED6-1BC8-43AD-ADC8-2B0C8005B784"},"1181":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:23:38 GMT+0200 (CEST)"},"1182":{"date":{"__isSmartRef__":true,"id":1183},"author":"timfelgentreff","message":"","id":"4978F7BB-7FF5-47C1-8A55-6CAB03479B28"},"1183":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:41:12 GMT+0200 (CEST)"},"1184":{"date":{"__isSmartRef__":true,"id":1185},"author":"timfelgentreff","message":"","id":"07EE540F-D786-49CC-8DD0-56F6B3AC6716"},"1185":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:43:41 GMT+0200 (CEST)"},"1186":{"date":{"__isSmartRef__":true,"id":1187},"author":"timfelgentreff","message":"","id":"B5D9BC0C-15F0-4AE7-884B-48515F6A030E"},"1187":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:08:19 GMT+0200 (CEST)"},"1188":{"date":{"__isSmartRef__":true,"id":1189},"author":"timfelgentreff","message":"","id":"F01F7BC6-E59F-4B63-8A3D-10C3AC3E34FD"},"1189":{"isSerializedDate":true,"string":"Fri Apr 20 2012 08:22:08 GMT+0200 (CEST)"},"1190":{"date":{"__isSmartRef__":true,"id":1191},"author":"tessi","message":"revert timfels last commit (tile was overwritten with thing)","id":"27A8A743-D064-44C6-948E-8E3D5118790D"},"1191":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:34:17 GMT+0200 (CEST)"},"1192":{"date":{"__isSmartRef__":true,"id":1193},"author":"timfelgentreff","message":"no comment","id":"6BBA00B9-6D11-4D9D-B6E9-95FE7CC915CD"},"1193":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:20:14 GMT+0200 (CEST)"},"1194":{"date":{"__isSmartRef__":true,"id":1195},"author":"timfelgentreff","message":"no comment","id":"957E9210-4394-452A-9291-BD0E8FA736BF"},"1195":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:28:00 GMT+0200 (CEST)"},"1196":{"date":{"__isSmartRef__":true,"id":1197},"author":"tessi","message":"added reset() method. use game() and map() instead of get() calls","id":"5B2AF6B7-3DC9-4EE1-A616-6510338BA091"},"1197":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:18:16 GMT+0200 (CEST)"},"1198":{"date":{"__isSmartRef__":true,"id":1199},"author":"timfelgentreff","message":"avoid setting props in shallowCopy","id":"0102BAF0-8471-4805-98CB-FFA285A96B15"},"1199":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:45:14 GMT+0200 (CEST)"},"1200":{"date":{"__isSmartRef__":true,"id":1201},"author":"timfelgentreff","message":"copy properties,too, so we can publish","id":"409A8B29-1CB7-4C30-B420-7F0FEB4489EA"},"1201":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:48:47 GMT+0200 (CEST)"},"1202":{"date":{"__isSmartRef__":true,"id":1203},"author":"tessi","message":"added stub method for getting characters standing on the tile","id":"2DD011DC-7ABF-4928-A2EE-FDA603BCB307"},"1203":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:22:23 GMT+0200 (CEST)"},"1204":{"date":{"__isSmartRef__":true,"id":1205},"author":"lauritz","message":"no comment","id":"2A0ACEC2-2DDA-4061-9ECE-8D49CCD6C0A0"},"1205":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:00:07 GMT+0200 (CEST)"},"1206":{"date":{"__isSmartRef__":true,"id":1207},"author":"timfelgentreff","message":"revert caching","id":"03257D32-EA99-4EA6-8CFA-D6C55E6A4D96"},"1207":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:20:05 GMT+0200 (CEST)"},"1208":{"date":{"__isSmartRef__":true,"id":1209},"author":"tessi","message":"fix neighbours calculation","id":"F2AE41B4-A670-4277-B7F3-5BCC20D74ECE"},"1209":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:55:48 GMT+0200 (CEST)"},"1210":{"date":{"__isSmartRef__":true,"id":1211},"author":"timfelgentreff","message":"add a neighboursReachableFromHere function, so we can return only neighbours that are reachable to A*","id":"646448AF-6B6F-4D4E-900B-2DC7B927ACE8"},"1211":{"isSerializedDate":true,"string":"Thu May 03 2012 13:29:50 GMT+0200 (CEST)"},"1212":{"date":{"__isSmartRef__":true,"id":1213},"author":"tessi","message":"normal border color is transparent","id":"94D5AA98-D1D9-4C6F-BED3-828305C3F390"},"1213":{"isSerializedDate":true,"string":"Thu May 03 2012 15:25:32 GMT+0200 (CEST)"},"1214":{"date":{"__isSmartRef__":true,"id":1215},"author":"tessi","message":"no comment","id":"928E1DC4-09B5-46D7-A245-48E332175C68"},"1215":{"isSerializedDate":true,"string":"Fri May 04 2012 17:01:42 GMT+0200 (CEST)"},"1216":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1217":{"morph":{"__isSmartRef__":true,"id":1105},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1218":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1219}},"1219":{"test01IsMorph":{"__isSmartRef__":true,"id":1220}},"1220":{"varMapping":{"__isSmartRef__":true,"id":1221},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1222},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1221":{"this":{"__isSmartRef__":true,"id":1218}},"1222":{},"1223":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1224":{"x":61,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1225":{"setDevStyle":{"__isSmartRef__":true,"id":1226},"setNormalStyle":{"__isSmartRef__":true,"id":1230},"tileSize":{"__isSmartRef__":true,"id":1234},"become":{"__isSmartRef__":true,"id":1238},"onMouseDown":{"__isSmartRef__":true,"id":1242},"setGridPosition":{"__isSmartRef__":true,"id":1250},"toolbox":{"__isSmartRef__":true,"id":1254},"distanceTo":{"__isSmartRef__":true,"id":1258},"tileWasDropped":{"__isSmartRef__":true,"id":1262},"isObstacle":{"__isSmartRef__":true,"id":1266},"neighboursInDirection":{"__isSmartRef__":true,"id":1270},"neighbours":{"__isSmartRef__":true,"id":1274},"zIndex":{"__isSmartRef__":true,"id":1278},"obstacles":{"__isSmartRef__":true,"id":1282},"addObstacle":{"__isSmartRef__":true,"id":1286},"removeObstacle":{"__isSmartRef__":true,"id":1290},"isTile":{"__isSmartRef__":true,"id":1294},"neighbourAt":{"__isSmartRef__":true,"id":1298},"map":{"__isSmartRef__":true,"id":1302},"game":{"__isSmartRef__":true,"id":1306},"reset":{"__isSmartRef__":true,"id":1310},"shallowCopy":{"__isSmartRef__":true,"id":1314},"characters":{"__isSmartRef__":true,"id":1318},"enterTile":{"__isSmartRef__":true,"id":1322},"leaveTile":{"__isSmartRef__":true,"id":1326},"neighboursReachableFromHere":{"__isSmartRef__":true,"id":1330}},"1226":{"varMapping":{"__isSmartRef__":true,"id":1227},"source":"function setDevStyle() {\n this.setExtent(this.tileSize())\n this.setFill(null)\n this.setBorderWidth(1)\n if (this.isObstacle()) {\n this.shape.setOpacity(0.8)\n this.shape.setBorderColor(Color.gray)\n } else {\n this.setBorderColor(Color.red)\n }\n this.submorphs.each(function (ea) {\n if (ea.setDevStyle) ea.setDevStyle()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1228},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1227":{"this":{"__isSmartRef__":true,"id":1105}},"1228":{"timestamp":{"__isSmartRef__":true,"id":1229},"user":"lauritz","tags":[]},"1229":{"isSerializedDate":true,"string":"Mon May 07 2012 18:57:47 GMT+0200 (CEST)"},"1230":{"varMapping":{"__isSmartRef__":true,"id":1231},"source":"function setNormalStyle() {\n this.setFill(null)\n this.setBorderWidth(0)\n this.setOpacity(1)\n this.submorphs.each(function (ea) {\n if (ea.setNormalStyle) ea.setNormalStyle()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1232},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1231":{"this":{"__isSmartRef__":true,"id":1105}},"1232":{"timestamp":{"__isSmartRef__":true,"id":1233},"user":"lauritz","tags":[]},"1233":{"isSerializedDate":true,"string":"Mon May 07 2012 18:58:21 GMT+0200 (CEST)"},"1234":{"varMapping":{"__isSmartRef__":true,"id":1235},"source":"function tileSize() {\n return pt(48,48)\n}","funcProperties":{"__isSmartRef__":true,"id":1236},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1235":{"this":{"__isSmartRef__":true,"id":1105}},"1236":{"timestamp":{"__isSmartRef__":true,"id":1237},"user":"tessi","tags":[]},"1237":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:04:53 GMT+0200 (CEST)"},"1238":{"varMapping":{"__isSmartRef__":true,"id":1239},"source":"function become(terrainName) {\n var terrain = this.toolbox(terrainName)\n\n if (terrain) {\n if (this.terrain) {\n this.terrain.remove();\n }\n this.terrain = terrain;\n terrain.setExtent(this.tileSize())\n terrain.setPosition(pt(0,0))\n terrain.disableDropping();\n terrain.disableGrabbing();\n terrain.disableDragging();\n terrain.ignoreEvents();\n this.addMorph(terrain)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1240},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1239":{"this":{"__isSmartRef__":true,"id":1105}},"1240":{"timestamp":{"__isSmartRef__":true,"id":1241},"user":"lauritz","tags":[]},"1241":{"isSerializedDate":true,"string":"Fri May 04 2012 13:31:11 GMT+0200 (CEST)"},"1242":{"varMapping":{"__isSmartRef__":true,"id":1243},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.map().game && this.game().selectedUnit) {\n this.game().selectedUnit.walkTo(this)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1248},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1243":{"this":{"__isSmartRef__":true,"id":1105},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1244}},"1244":{"$super":{"__isSmartRef__":true,"id":1245}},"1245":{"varMapping":{"__isSmartRef__":true,"id":1246},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1247},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1246":{"obj":{"__isSmartRef__":true,"id":1105},"name":"onMouseDown"},"1247":{},"1248":{"timestamp":{"__isSmartRef__":true,"id":1249},"user":"timfelgentreff","tags":[]},"1249":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:12:14 GMT+0200 (CEST)"},"1250":{"varMapping":{"__isSmartRef__":true,"id":1251},"source":"function setGridPosition(column, row) {\n this.row = row\n this.column = column\n this.setPosition(pt(column,row).scaleByPt(this.tileSize()))\n}","funcProperties":{"__isSmartRef__":true,"id":1252},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1251":{"this":{"__isSmartRef__":true,"id":1105}},"1252":{"timestamp":{"__isSmartRef__":true,"id":1253},"user":"timfelgentreff","tags":[]},"1253":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:23:15 GMT+0200 (CEST)"},"1254":{"varMapping":{"__isSmartRef__":true,"id":1255},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":1256},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1255":{"this":{"__isSmartRef__":true,"id":1105}},"1256":{"timestamp":{"__isSmartRef__":true,"id":1257},"user":"tessi","tags":[]},"1257":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:15:20 GMT+0200 (CEST)"},"1258":{"varMapping":{"__isSmartRef__":true,"id":1259},"source":"function distanceTo(tile) {\n return pt(tile.column - this.column, tile.row - this.row)\n}","funcProperties":{"__isSmartRef__":true,"id":1260},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1259":{"this":{"__isSmartRef__":true,"id":1105}},"1260":{"timestamp":{"__isSmartRef__":true,"id":1261},"user":"timfelgentreff","tags":[]},"1261":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:02 GMT+0200 (CEST)"},"1262":{"varMapping":{"__isSmartRef__":true,"id":1263},"source":"function tileWasDropped(aTile) {\n this.become(aTile);\n}","funcProperties":{"__isSmartRef__":true,"id":1264},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1263":{"this":{"__isSmartRef__":true,"id":1105}},"1264":{"timestamp":{"__isSmartRef__":true,"id":1265},"user":"lauritz","tags":[]},"1265":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:52:54 GMT+0200 (CEST)"},"1266":{"varMapping":{"__isSmartRef__":true,"id":1267},"source":"function isObstacle() {\n return (this.terrain && this.terrain.isObstacle) || (this.obstacles().size() > 0)\n}","funcProperties":{"__isSmartRef__":true,"id":1268},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1267":{"this":{"__isSmartRef__":true,"id":1105}},"1268":{"timestamp":{"__isSmartRef__":true,"id":1269},"user":"timfelgentreff","tags":[]},"1269":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:19:43 GMT+0200 (CEST)"},"1270":{"varMapping":{"__isSmartRef__":true,"id":1271},"source":"function neighboursInDirection(point) {\n var that = this;\n return [this.map().tiles[this.column + point.x][this.row],\n this.map().tiles[this.column + point.x][this.row + point.y],\n this.map().tiles[this.column][this.row + point.y]\n ].reject(function (each) { return each === that || !each }).uniq()\n}","funcProperties":{"__isSmartRef__":true,"id":1272},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1271":{"this":{"__isSmartRef__":true,"id":1105}},"1272":{"timestamp":{"__isSmartRef__":true,"id":1273},"user":"tessi","tags":[]},"1273":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:13:24 GMT+0200 (CEST)"},"1274":{"varMapping":{"__isSmartRef__":true,"id":1275},"source":"function neighbours() {\n if (this.cachedNeightbours) { return this.cachedNeightbours }\n this.cachedNeightbours = []\n var tile = null;\n for(var i = this.row - 1; i <= this.row + 1; i++) {\n for(var j = this.column - 1; j <= this.column + 1; j++) {\n column = this.map().tiles[j]\n if (column) {\n tile = column[i]\n if (tile && tile !== this) {\n this.cachedNeightbours.push(tile)\n }\n }\n }\n }\n return this.cachedNeightbours\n}","funcProperties":{"__isSmartRef__":true,"id":1276},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1275":{"this":{"__isSmartRef__":true,"id":1105}},"1276":{"timestamp":{"__isSmartRef__":true,"id":1277},"user":"tessi","tags":[]},"1277":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:55:34 GMT+0200 (CEST)"},"1278":{"varMapping":{"__isSmartRef__":true,"id":1279},"source":"function zIndex() {\n return this.renderContext().morphNode.style.zIndex\n}","funcProperties":{"__isSmartRef__":true,"id":1280},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1279":{"this":{"__isSmartRef__":true,"id":1105}},"1280":{"timestamp":{"__isSmartRef__":true,"id":1281},"user":"timfelgentreff","tags":[]},"1281":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:54:56 GMT+0200 (CEST)"},"1282":{"varMapping":{"__isSmartRef__":true,"id":1283},"source":"function obstacles() {\n if (!this[\"__obstacles\"]) this[\"__obstacles\"] = []\n return this[\"__obstacles\"]\n}","funcProperties":{"__isSmartRef__":true,"id":1284},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1283":{"this":{"__isSmartRef__":true,"id":1105}},"1284":{"timestamp":{"__isSmartRef__":true,"id":1285},"user":"timfelgentreff","tags":[]},"1285":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:53:52 GMT+0200 (CEST)"},"1286":{"varMapping":{"__isSmartRef__":true,"id":1287},"source":"function addObstacle(thing) {\n if (!this.obstacles().member(thing)) {\n this.obstacles().push(thing)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1288},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1287":{"this":{"__isSmartRef__":true,"id":1105}},"1288":{"timestamp":{"__isSmartRef__":true,"id":1289},"user":"timfelgentreff","tags":[]},"1289":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:50:17 GMT+0200 (CEST)"},"1290":{"varMapping":{"__isSmartRef__":true,"id":1291},"source":"function removeObstacle(thing) {\n var idx = this.obstacles().indexOf(thing)\n if (idx >= 0) {\n this.obstacles().removeAt(idx)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1292},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1291":{"this":{"__isSmartRef__":true,"id":1105}},"1292":{"timestamp":{"__isSmartRef__":true,"id":1293},"user":"timfelgentreff","tags":[]},"1293":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:54:03 GMT+0200 (CEST)"},"1294":{"varMapping":{"__isSmartRef__":true,"id":1295},"source":"function isTile() {\n return true\n}","funcProperties":{"__isSmartRef__":true,"id":1296},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1295":{"this":{"__isSmartRef__":true,"id":1105}},"1296":{"timestamp":{"__isSmartRef__":true,"id":1297},"user":"timfelgentreff","tags":[]},"1297":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:09:57 GMT+0200 (CEST)"},"1298":{"varMapping":{"__isSmartRef__":true,"id":1299},"source":"function neighbourAt(point) {\n var column = this.map().tiles[this.column + point.x]\n if (column) {\n return column[this.row + point.y]\n }\n return null\n}","funcProperties":{"__isSmartRef__":true,"id":1300},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1299":{"this":{"__isSmartRef__":true,"id":1105}},"1300":{"timestamp":{"__isSmartRef__":true,"id":1301},"user":"tessi","tags":[]},"1301":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:11:55 GMT+0200 (CEST)"},"1302":{"varMapping":{"__isSmartRef__":true,"id":1303},"source":"function map() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1304},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1303":{"this":{"__isSmartRef__":true,"id":1105}},"1304":{"timestamp":{"__isSmartRef__":true,"id":1305},"user":"tessi","tags":[]},"1305":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:11:37 GMT+0200 (CEST)"},"1306":{"varMapping":{"__isSmartRef__":true,"id":1307},"source":"function game() {\n return this.map().game()\n}","funcProperties":{"__isSmartRef__":true,"id":1308},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1307":{"this":{"__isSmartRef__":true,"id":1105}},"1308":{"timestamp":{"__isSmartRef__":true,"id":1309},"user":"tessi","tags":[]},"1309":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:13:57 GMT+0200 (CEST)"},"1310":{"varMapping":{"__isSmartRef__":true,"id":1311},"source":"function reset() {\n this.terrain = null\n this.charactersStandingHere = this.cachedNeightbours = undefined\n this.submorphs.invoke(\"remove\")\n this.setDevStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":1312},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1311":{"this":{"__isSmartRef__":true,"id":1105}},"1312":{"timestamp":{"__isSmartRef__":true,"id":1313},"user":"tessi","tags":[]},"1313":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:34:06 GMT+0200 (CEST)"},"1314":{"varMapping":{"__isSmartRef__":true,"id":1315},"source":"function shallowCopy() {\n var copy = Morph.makeRectangle(this.bounds()),\n that = this\n Functions.own(this).each(function (ea) {\n copy[ea] = that[ea].asScriptOf(copy, ea)\n })\n \n // also shallow-copy partsBinMetaInfo \n if (this.partsBinMetaInfo) {\n copy.partsBinMetaInfo = this.partsBinMetaInfo\n }\n\n // Not needed, we're not using properties on tiles\n // Properties.own(this).each(function (ea) {\n // copy[ea] = that[ea]\n // })\n // ea.findAndSetUniqueName()\n return copy\n}","funcProperties":{"__isSmartRef__":true,"id":1316},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1315":{"this":{"__isSmartRef__":true,"id":1105}},"1316":{"timestamp":{"__isSmartRef__":true,"id":1317},"user":"timfelgentreff","tags":[]},"1317":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:17:04 GMT+0200 (CEST)"},"1318":{"varMapping":{"__isSmartRef__":true,"id":1319},"source":"function characters(newCharacters /* omit parameter if you want this to be a getter */) {\n if ( !this.charactersStandingHere || newCharacters ) {\n this.charactersStandingHere = newCharacters || []\n }\n return this.charactersStandingHere\n}","funcProperties":{"__isSmartRef__":true,"id":1320},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1319":{"this":{"__isSmartRef__":true,"id":1105}},"1320":{"timestamp":{"__isSmartRef__":true,"id":1321},"user":"tessi","tags":[]},"1321":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:31:13 GMT+0200 (CEST)"},"1322":{"varMapping":{"__isSmartRef__":true,"id":1323},"source":"function enterTile(character) {\n if (!this.characters().include(character)) {\n this.characters().push(character)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1324},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1323":{"this":{"__isSmartRef__":true,"id":1105}},"1324":{"timestamp":{"__isSmartRef__":true,"id":1325},"user":"tessi","tags":[]},"1325":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:25:25 GMT+0200 (CEST)"},"1326":{"varMapping":{"__isSmartRef__":true,"id":1327},"source":"function leaveTile(character) {\n if (this.characters().include(character)) {\n this.characters(this.characters().without(character))\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1328},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1327":{"this":{"__isSmartRef__":true,"id":1105}},"1328":{"timestamp":{"__isSmartRef__":true,"id":1329},"user":"tessi","tags":[]},"1329":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:28:36 GMT+0200 (CEST)"},"1330":{"varMapping":{"__isSmartRef__":true,"id":1331},"source":"function neighboursReachableFromHere() {\n var that = this;\n return this.neighbours().select(function (tile) {\n return that.neighboursInDirection(that.distanceTo(tile)).all(function (n) {\n return !n.isObstacle()\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1332},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1331":{"this":{"__isSmartRef__":true,"id":1105}},"1332":{"timestamp":{"__isSmartRef__":true,"id":1333},"user":"timfelgentreff","tags":[]},"1333":{"isSerializedDate":true,"string":"Thu May 03 2012 13:28:31 GMT+0200 (CEST)"},"1334":{"loadPartItem":{"__isSmartRef__":true,"id":1335},"getPartsBinCategory":{"__isSmartRef__":true,"id":1339},"toolbox":{"__isSmartRef__":true,"id":1343},"reset":{"__isSmartRef__":true,"id":1347},"zIndexForTiles":{"__isSmartRef__":true,"id":1351},"zIndexForThings":{"__isSmartRef__":true,"id":1355},"partNamesEndingWith":{"__isSmartRef__":true,"id":1359}},"1335":{"varMapping":{"__isSmartRef__":true,"id":1336},"source":"function loadPartItem(partName) {\n if (!this.partItemCache) this.partItemCache = {}\n\n var shallowCopyableItem = this.partItemCache[partName]\n if (shallowCopyableItem) {\n return shallowCopyableItem.shallowCopy()\n } else {\n var newItem = $world.loadPartItem(partName, 'PartsBin/' + this.getPartsBinCategory())\n if (typeof newItem.shallowCopy == \"function\") {\n this.partItemCache[partName] = newItem\n return newItem.shallowCopy()\n } else {\n return newItem\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1337},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1336":{"this":{"__isSmartRef__":true,"id":936}},"1337":{"timestamp":{"__isSmartRef__":true,"id":1338},"user":"timfelgentreff","tags":[]},"1338":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:12:51 GMT+0200 (CEST)"},"1339":{"varMapping":{"__isSmartRef__":true,"id":1340},"source":"function getPartsBinCategory() {\n return 'FreedomOfSpeech';\n}","funcProperties":{"__isSmartRef__":true,"id":1341},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1340":{"this":{"__isSmartRef__":true,"id":936}},"1341":{"timestamp":{"__isSmartRef__":true,"id":1342},"user":"lauritz","tags":[]},"1342":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:09:26 GMT+0200 (CEST)"},"1343":{"varMapping":{"__isSmartRef__":true,"id":1344},"source":"function toolbox(partName) {\n return this.loadPartItem(partName);\n}","funcProperties":{"__isSmartRef__":true,"id":1345},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1344":{"this":{"__isSmartRef__":true,"id":936}},"1345":{"timestamp":{"__isSmartRef__":true,"id":1346},"user":"lauritz","tags":[]},"1346":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:15:49 GMT+0200 (CEST)"},"1347":{"varMapping":{"__isSmartRef__":true,"id":1348},"source":"function reset() {\n this.partItemCache = {}\n this.selectedUnit = null\n}","funcProperties":{"__isSmartRef__":true,"id":1349},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1348":{"this":{"__isSmartRef__":true,"id":936}},"1349":{"timestamp":{"__isSmartRef__":true,"id":1350},"user":"timfelgentreff","tags":[]},"1350":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:08:04 GMT+0200 (CEST)"},"1351":{"varMapping":{"__isSmartRef__":true,"id":1352},"source":"function zIndexForTiles() {\n return 10;\n}","funcProperties":{"__isSmartRef__":true,"id":1353},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1352":{"this":{"__isSmartRef__":true,"id":936}},"1353":{"timestamp":{"__isSmartRef__":true,"id":1354},"user":"timfelgentreff","tags":[]},"1354":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:58:48 GMT+0200 (CEST)"},"1355":{"varMapping":{"__isSmartRef__":true,"id":1356},"source":"function zIndexForThings() {\n return this.zIndexForTiles + 10;\n}","funcProperties":{"__isSmartRef__":true,"id":1357},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1356":{"this":{"__isSmartRef__":true,"id":936}},"1357":{"timestamp":{"__isSmartRef__":true,"id":1358},"user":"timfelgentreff","tags":[]},"1358":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:07 GMT+0200 (CEST)"},"1359":{"varMapping":{"__isSmartRef__":true,"id":1360},"source":"function partNamesEndingWith(string) {\n if (!this.partNamesCache) this.partNamesCache = {}\n if (this.partNamesCache[string]) return this.partNamesCache[string]\n\n this.partNamesCache[string] = lively.PartsBin.\n partsSpaceNamed(\"PartsBin/\" + this.getPartsBinCategory() + \"/\").\n getPartNames().select(function (each) {\n return each.match(new RegExp(\".+\" + string + \"$\"))\n }).collect(function (each) {\n return each.truncate(each.length - string.length, \"\")\n });\n return this.partNamesCache[string]\n}","funcProperties":{"__isSmartRef__":true,"id":1361},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1360":{"this":{"__isSmartRef__":true,"id":936}},"1361":{"timestamp":{"__isSmartRef__":true,"id":1362},"user":"timfelgentreff","tags":[]},"1362":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:22:18 GMT+0200 (CEST)"},"1363":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1364},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558","3CFD551F-52D8-4CBF-8B16-B344F611A9D5"],"id":"EA63383B-F07C-48A1-BA9D-5A35737D8449","renderContextTable":{"__isSmartRef__":true,"id":1370},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1371},{"__isSmartRef__":true,"id":1373}],"eventHandler":{"__isSmartRef__":true,"id":1375},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":1376},"_MaxTextWidth":455,"_MinTextWidth":455,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title2","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":1377},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1378},"charsReplaced":"","lastFindLoc":95,"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1364":{"_Position":{"__isSmartRef__":true,"id":1365},"renderContextTable":{"__isSmartRef__":true,"id":1366},"_Extent":{"__isSmartRef__":true,"id":1367},"_Padding":{"__isSmartRef__":true,"id":1368},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1369},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1365":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1366":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1367":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1368":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1369":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1370":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1371":{"style":{"__isSmartRef__":true,"id":1372},"chunkOwner":{"__isSmartRef__":true,"id":1363},"storedString":"Similar objects\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1372":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"19px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1373":{"style":{"__isSmartRef__":true,"id":1374},"chunkOwner":{"__isSmartRef__":true,"id":1363},"storedString":"\ninvisible character with submorph \"masks\", but not a conceptual domain object","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1374":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1375":{"morph":{"__isSmartRef__":true,"id":1363},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1376":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1377":{"x":19.999999999999915,"y":88,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1378":{"x":320.30124558109685,"y":-12.78702947301025,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1379":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1380},"derivationIds":[null,"238E91DE-656E-43B5-8E3D-904CDA28A277","C00A3C0E-CF81-421A-BF06-DE6D4804AC6B","4382B5D0-4A0C-4EF1-8EA4-8A5F8AE07FED","C63F1CBE-8F12-4DFF-8B87-724D9AFDE572","4C4D5150-2BCE-4514-A48A-3787AC0E3CCF","8D704A99-14C3-4137-9E77-31DEBF2AA651"],"id":"46C7A179-23E7-418F-889F-5F2D0B919A57","renderContextTable":{"__isSmartRef__":true,"id":1385},"eventHandler":{"__isSmartRef__":true,"id":1386},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1387},"name":"CoderCharacter","priorExtent":{"__isSmartRef__":true,"id":1388},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1389},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","isBeingDragged":false,"owner":null,"_Rotation":0,"_Scale":1.0040100200350561,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1404},"__LivelyClassName__":"lively.morphic.Image"},"1380":{"_Position":{"__isSmartRef__":true,"id":1381},"renderContextTable":{"__isSmartRef__":true,"id":1382},"_Extent":{"__isSmartRef__":true,"id":1383},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1384},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/coder.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1381":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1382":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1383":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1384":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1385":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1386":{"morph":{"__isSmartRef__":true,"id":1379},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1387":{"x":168.30124558109674,"y":299.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1388":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1389":{"partName":"CoderCharacter","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech","comment":"An animated character with a Apple Macbook Air, hacking away and looking suspicious. He loves Latté and hacks Rails...he's a real hipster, living in Mission, SF.","changes":[{"__isSmartRef__":true,"id":1390},{"__isSmartRef__":true,"id":1392},{"__isSmartRef__":true,"id":1394},{"__isSmartRef__":true,"id":1396},{"__isSmartRef__":true,"id":1398},{"__isSmartRef__":true,"id":1400},{"__isSmartRef__":true,"id":1402}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1390":{"date":{"__isSmartRef__":true,"id":1391},"author":"lauritz","message":"extended his horizon minimally","id":"50EA136D-373D-4B07-9743-671C5D5FD786"},"1391":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:36:11 GMT+0200 (CEST)"},"1392":{"date":{"__isSmartRef__":true,"id":1393},"author":"tessi","message":"typo","id":"C3C7C127-AA94-4893-ACE9-14FE290D4CE1"},"1393":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:33:53 GMT+0200 (CEST)"},"1394":{"date":{"__isSmartRef__":true,"id":1395},"author":"tessi","message":"","id":"F17F7ABD-5B30-4809-9E08-0A11240FCE2B"},"1395":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:32:18 GMT+0200 (CEST)"},"1396":{"date":{"__isSmartRef__":true,"id":1397},"author":"tessi","message":"","id":"AC6C3961-CFFB-4C4A-8769-970359274337"},"1397":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:01:43 GMT+0200 (CEST)"},"1398":{"date":{"__isSmartRef__":true,"id":1399},"author":"tessi","message":"some soliloquize sentences for the awesome coder!","id":"892B001E-626A-4EE7-A217-E88C4E1F6088"},"1399":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:52:20 GMT+0200 (CEST)"},"1400":{"date":{"__isSmartRef__":true,"id":1401},"author":"lauritz","message":"no comment","id":"56F017FB-5032-49A5-A6C0-A856F2AB5B55"},"1401":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:23:49 GMT+0200 (CEST)"},"1402":{"date":{"__isSmartRef__":true,"id":1403},"author":"lauritz","message":"no comment","id":"52EB067D-BE9C-4E05-9599-5B3D0D663B9E"},"1403":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:30:38 GMT+0200 (CEST)"},"1404":{"soliloquize":{"__isSmartRef__":true,"id":1405}},"1405":{"varMapping":{"__isSmartRef__":true,"id":1406},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"Wonder what the new iPony will be like\",\n \"Can i have some Mate pl0x?\",\n \"*click* *clack* *clack*\",\n \"Shouldn't this run faster?\",\n \"Wonder why people use Windows...\",\n \"Lets start a new programming language!\",\n \"Awesome!\",\n \"git rebase to the rescue!\",\n \"Array(16).join(\\\"wat\\\" - 1) + \\\" Batman!\\\"\",\n \"aww. screwed up the pointers\\n.. again!\",\n \"i need horn-rimmed glasses\",\n \"i'm no hipster.\",\n \"can i have a lattai\",\n \"everything you can do i can do better\",\n \"i can do everything better than you\",\n \"i studied at HPI\",\n \"oop is not for everyone\",\n \"it's spring after the java nuclear winter\",\n \"Is the company based in Mission?\",\n \"Who's that Alan Kay dude?\",\n \"I [github] code\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1407},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1406":{"this":{"__isSmartRef__":true,"id":1379}},"1407":{"timestamp":{"__isSmartRef__":true,"id":1408},"user":"lauritz","tags":[]},"1408":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:35:45 GMT+0200 (CEST)"},"1409":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1410},"derivationIds":[null,"DDEAC478-2517-4549-94EE-CDDC72BCB67A","7C9FE591-7783-4A14-A4C6-3202BFD06CDB","1880E48F-8410-43CD-B356-0A1E07E68A4A"],"id":"C2D2E258-6A1E-411B-A277-A328900006F3","renderContextTable":{"__isSmartRef__":true,"id":1415},"eventHandler":{"__isSmartRef__":true,"id":1416},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1417},"name":"OctocatCharacter","priorExtent":{"__isSmartRef__":true,"id":1418},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1419},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"_ClipMode":"visible","owner":null,"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1426},"__LivelyClassName__":"lively.morphic.Image"},"1410":{"_Position":{"__isSmartRef__":true,"id":1411},"renderContextTable":{"__isSmartRef__":true,"id":1412},"_Extent":{"__isSmartRef__":true,"id":1413},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1414},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/octocat.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1411":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1412":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1413":{"x":32,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1414":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1415":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1416":{"morph":{"__isSmartRef__":true,"id":1409},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1417":{"x":178.30124558109674,"y":345.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1418":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1419":{"partName":"OctocatCharacter","requiredModules":[],"comment":"Look at me! I'm doing the octo dance!","changes":[{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1424}],"migrationLevel":4,"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":154726,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1420":{"date":{"__isSmartRef__":true,"id":1421},"author":"tessi","message":"octocat does not soliloquize (for now!?)","id":"0F039063-F9E3-4503-B1ED-C1C7C887679B"},"1421":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:39:04 GMT+0200 (CEST)"},"1422":{"date":{"__isSmartRef__":true,"id":1423},"author":"tessi","message":"","id":"977A2D23-B062-4F60-AB60-63CF3624D817"},"1423":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:33:30 GMT+0200 (CEST)"},"1424":{"date":{"__isSmartRef__":true,"id":1425},"author":"tessi","message":"","id":"F614B373-FE65-419F-AC36-21BCCE60AEE6"},"1425":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:36:27 GMT+0200 (CEST)"},"1426":{"soliloquize":{"__isSmartRef__":true,"id":1427}},"1427":{"varMapping":{"__isSmartRef__":true,"id":1428},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n undefined\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1429},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1428":{"this":{"__isSmartRef__":true,"id":1409}},"1429":{"timestamp":{"__isSmartRef__":true,"id":1430},"user":"tessi","tags":[]},"1430":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:38:40 GMT+0200 (CEST)"},"1431":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1432},"derivationIds":[null,"09D9B212-F744-4AE7-B38B-4A5C5288371F","6C6681FE-F923-46F9-AEB9-07333BDBD26B"],"id":"A2585D22-497F-4E2B-B23B-A2556FC3219A","renderContextTable":{"__isSmartRef__":true,"id":1437},"eventHandler":{"__isSmartRef__":true,"id":1438},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1439},"name":"Player","priorExtent":{"__isSmartRef__":true,"id":1440},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"#startLetters":"","prevScroll":[0,0],"partsBinMetaInfo":{"__isSmartRef__":true,"id":1441},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"isPlayer":true,"owner":null,"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1448},"__LivelyClassName__":"lively.morphic.Image"},"1432":{"_Position":{"__isSmartRef__":true,"id":1433},"renderContextTable":{"__isSmartRef__":true,"id":1434},"_Extent":{"__isSmartRef__":true,"id":1435},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/player_south.gif","_Padding":{"__isSmartRef__":true,"id":1436},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1433":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1434":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1435":{"x":36,"y":60,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1436":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1437":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1438":{"morph":{"__isSmartRef__":true,"id":1431},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1439":{"x":264.30124558109674,"y":282.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1440":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1441":{"partName":"Player","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech/","comment":"A player character, which can face different directions","changes":[{"__isSmartRef__":true,"id":1442},{"__isSmartRef__":true,"id":1444},{"__isSmartRef__":true,"id":1446}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":159415,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1442":{"date":{"__isSmartRef__":true,"id":1443},"author":"timfelgentreff","message":"no comment","id":"AB6EC246-0E78-43F0-A551-17F34378328F"},"1443":{"isSerializedDate":true,"string":"Fri May 04 2012 17:50:59 GMT+0200 (CEST)"},"1444":{"date":{"__isSmartRef__":true,"id":1445},"author":"timfelgentreff","message":"avoid resetting image all the time","id":"828C5757-34C9-4ED5-BF71-136B71BD18F9"},"1445":{"isSerializedDate":true,"string":"Fri May 04 2012 17:44:22 GMT+0200 (CEST)"},"1446":{"date":{"__isSmartRef__":true,"id":1447},"author":"tessi","message":"no comment","id":"04C3B971-E7A7-48D8-9BB4-D2D0C01F4357"},"1447":{"isSerializedDate":true,"string":"Fri May 04 2012 17:00:59 GMT+0200 (CEST)"},"1448":{"mediaURL":{"__isSmartRef__":true,"id":1449},"face":{"__isSmartRef__":true,"id":1453}},"1449":{"varMapping":{"__isSmartRef__":true,"id":1450},"source":"function mediaURL() {\n return \"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media\"\n}","funcProperties":{"__isSmartRef__":true,"id":1451},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1450":{"this":{"__isSmartRef__":true,"id":1431}},"1451":{"timestamp":{"__isSmartRef__":true,"id":1452},"user":"tessi","tags":[]},"1452":{"isSerializedDate":true,"string":"Fri May 04 2012 16:56:03 GMT+0200 (CEST)"},"1453":{"varMapping":{"__isSmartRef__":true,"id":1454},"source":"function face(direction /* north, south, east, or west */) {\n var directions = ['north', 'south', 'east', 'west']\n if ( directions.include(direction) ) {\n var newURL = this.mediaURL() + '/player_' + direction + '.gif'\n if (newURL !== this.getImageURL()) {\n this.setImageURL(newURL)\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1455},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1454":{"this":{"__isSmartRef__":true,"id":1431}},"1455":{"timestamp":{"__isSmartRef__":true,"id":1456},"user":"timfelgentreff","tags":[]},"1456":{"isSerializedDate":true,"string":"Fri May 04 2012 17:44:09 GMT+0200 (CEST)"},"1457":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1458},"derivationIds":[null,"C91C7A1D-6475-460A-9934-50BFB3BDD0CA","235263A6-5B5D-4254-A5E0-0085E08EE8DA","E485717F-C711-4489-A08A-1C47955B74DB","5DEF033C-1B6E-42C8-8B64-539E7F671D31","EACDF281-597E-4798-8660-4584A590593D","9BC238B7-A19E-421A-A380-8FFFF13E0920"],"id":"28DB8235-0325-4B12-9D80-18EE8101BB75","renderContextTable":{"__isSmartRef__":true,"id":1463},"eventHandler":{"__isSmartRef__":true,"id":1464},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1465},"name":"ScientistCharacter","priorExtent":{"__isSmartRef__":true,"id":1466},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1467},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","owner":null,"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1480},"__LivelyClassName__":"lively.morphic.Image"},"1458":{"_Position":{"__isSmartRef__":true,"id":1459},"renderContextTable":{"__isSmartRef__":true,"id":1460},"_Extent":{"__isSmartRef__":true,"id":1461},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1462},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/scientist.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1459":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1460":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1461":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1462":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1463":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1464":{"morph":{"__isSmartRef__":true,"id":1457},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1465":{"x":314.30124558109674,"y":393.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1466":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1467":{"partName":"ScientistCharacter","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech/","comment":"A scientist character who knows A LOT!!1","changes":[{"__isSmartRef__":true,"id":1468},{"__isSmartRef__":true,"id":1470},{"__isSmartRef__":true,"id":1472},{"__isSmartRef__":true,"id":1474},{"__isSmartRef__":true,"id":1476},{"__isSmartRef__":true,"id":1478}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":156419,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1468":{"date":{"__isSmartRef__":true,"id":1469},"author":"timfelgentreff","message":"no comment","id":"BF38DA82-CAF7-4DEA-BCA5-B106FEFC0AFB"},"1469":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:37:24 GMT+0200 (CEST)"},"1470":{"date":{"__isSmartRef__":true,"id":1471},"author":"tessi","message":"typo","id":"34473741-0521-4BD1-BC93-DF88917EF5DF"},"1471":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:32:17 GMT+0200 (CEST)"},"1472":{"date":{"__isSmartRef__":true,"id":1473},"author":"tessi","message":"","id":"D21104FA-3310-44C8-9251-B7406894B2B7"},"1473":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:44:52 GMT+0200 (CEST)"},"1474":{"date":{"__isSmartRef__":true,"id":1475},"author":"tessi","message":"","id":"E2F64556-CA9B-4B95-8DB0-09CBBDC6C471"},"1475":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:03:16 GMT+0200 (CEST)"},"1476":{"date":{"__isSmartRef__":true,"id":1477},"author":"tessi","message":"Give our prof more sentences to say","id":"089204B1-6181-4182-B02B-87E94A452DE2"},"1477":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:06:46 GMT+0200 (CEST)"},"1478":{"date":{"__isSmartRef__":true,"id":1479},"author":"lauritz","message":"no comment","id":"D254F47E-8439-4032-A018-BAA865E7CD51"},"1479":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:26:32 GMT+0200 (CEST)"},"1480":{"soliloquize":{"__isSmartRef__":true,"id":1481}},"1481":{"varMapping":{"__isSmartRef__":true,"id":1482},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"I wanna make someone call me Prof. again\",\n \"Muharharhar!\",\n \"Why do these chemicals explode all the time?\",\n \"The world will be mine!\",\n \".. my toe tickles ..\",\n \"Back to the Lab!\",\n \"Things should have more labels on them!\",\n \"GreenIT - Muhahahr\",\n \"\\\"Dominate the world in seven days\\\"\\n this book looks interesting\",\n \"Hell yeah it's rocket science!\",\n \"darn..premise wrong,..again.\",\n \"I don't like people\",\n \"Theory of Everything!!\",\n \"An entropy cannot decrease in a closed system,\\nso I guess that's why there's\\n a hole in my sock\",\n \"As objects in motion tend to remain in motion\\nI fell down the stairs\",\n \"I have a degree in horribleness\",\n \"My application to the \\\"Evil League Of Evil\\\"\\nis still pending...\\nShould I call Bad Horse?\",\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1483},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1482":{"this":{"__isSmartRef__":true,"id":1457}},"1483":{"timestamp":{"__isSmartRef__":true,"id":1484},"user":"timfelgentreff","tags":[]},"1484":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:37:05 GMT+0200 (CEST)"},"1485":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1486},"derivationIds":[null,"DDEAC478-2517-4549-94EE-CDDC72BCB67A","7C9FE591-7783-4A14-A4C6-3202BFD06CDB","1880E48F-8410-43CD-B356-0A1E07E68A4A"],"id":"248FB25D-3D3F-40E4-93CD-96F9EF72F795","renderContextTable":{"__isSmartRef__":true,"id":1491},"eventHandler":{"__isSmartRef__":true,"id":1492},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1493},"name":"OctocatCharacter1","priorExtent":{"__isSmartRef__":true,"id":1494},"isBeingDragged":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1495},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"_ClipMode":"visible","owner":null,"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1502},"__LivelyClassName__":"lively.morphic.Image"},"1486":{"_Position":{"__isSmartRef__":true,"id":1487},"renderContextTable":{"__isSmartRef__":true,"id":1488},"_Extent":{"__isSmartRef__":true,"id":1489},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1490},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/octocat.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1487":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1488":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1489":{"x":32,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1490":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1491":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1492":{"morph":{"__isSmartRef__":true,"id":1485},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1493":{"x":347.30124558109674,"y":333.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1494":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1495":{"partName":"OctocatCharacter","requiredModules":[],"comment":"Look at me! I'm doing the octo dance!","changes":[{"__isSmartRef__":true,"id":1496},{"__isSmartRef__":true,"id":1498},{"__isSmartRef__":true,"id":1500}],"migrationLevel":4,"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":154726,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1496":{"date":{"__isSmartRef__":true,"id":1497},"author":"tessi","message":"octocat does not soliloquize (for now!?)","id":"0F039063-F9E3-4503-B1ED-C1C7C887679B"},"1497":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:39:04 GMT+0200 (CEST)"},"1498":{"date":{"__isSmartRef__":true,"id":1499},"author":"tessi","message":"","id":"977A2D23-B062-4F60-AB60-63CF3624D817"},"1499":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:33:30 GMT+0200 (CEST)"},"1500":{"date":{"__isSmartRef__":true,"id":1501},"author":"tessi","message":"","id":"F614B373-FE65-419F-AC36-21BCCE60AEE6"},"1501":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:36:27 GMT+0200 (CEST)"},"1502":{"soliloquize":{"__isSmartRef__":true,"id":1503}},"1503":{"varMapping":{"__isSmartRef__":true,"id":1504},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n undefined\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1505},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1504":{"this":{"__isSmartRef__":true,"id":1485}},"1505":{"timestamp":{"__isSmartRef__":true,"id":1506},"user":"tessi","tags":[]},"1506":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:38:40 GMT+0200 (CEST)"},"1507":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1508},"derivationIds":[null,"2C67266A-A4B7-45B9-A07E-349249D8E3D6","1866B5DE-176E-428D-8316-6E4B0D199C0D","BB78A49E-84AE-47AB-8DBA-57DD832FBE7A","FDD7C748-96A8-4A25-BCBB-A548FD2BEB6D","F7908E3B-0761-47BD-99B4-61822128EF86","E2A6B364-2FF5-4CDC-B74C-0884CB516E97"],"id":"D40AFCA9-9335-4146-97BC-5375D1F06987","renderContextTable":{"__isSmartRef__":true,"id":1513},"eventHandler":{"__isSmartRef__":true,"id":1514},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1515},"name":"OgreCharacter","priorExtent":{"__isSmartRef__":true,"id":1516},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1517},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","owner":null,"_Rotation":0,"_Scale":1.0040100200350561,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1530},"__LivelyClassName__":"lively.morphic.Image"},"1508":{"_Position":{"__isSmartRef__":true,"id":1509},"renderContextTable":{"__isSmartRef__":true,"id":1510},"_Extent":{"__isSmartRef__":true,"id":1511},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1512},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/ogre.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1509":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1510":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1511":{"x":30,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1512":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1513":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1514":{"morph":{"__isSmartRef__":true,"id":1507},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1515":{"x":152.30124558109674,"y":415.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1516":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1517":{"partName":"OgreCharacter","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech/","comment":"An animated ogre character, who is in desperate search for a toilet or something to eat (any human would propably do well enough for his needs)","changes":[{"__isSmartRef__":true,"id":1518},{"__isSmartRef__":true,"id":1520},{"__isSmartRef__":true,"id":1522},{"__isSmartRef__":true,"id":1524},{"__isSmartRef__":true,"id":1526},{"__isSmartRef__":true,"id":1528}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":156416,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1518":{"date":{"__isSmartRef__":true,"id":1519},"author":"lauritz","message":"i've got to tell a thing or two","id":"70436981-18DC-4F38-8140-749232838288"},"1519":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:36:29 GMT+0200 (CEST)"},"1520":{"date":{"__isSmartRef__":true,"id":1521},"author":"tessi","message":"some more sentences for our lovely ogre","id":"CAA81E8E-2A04-4B19-A2A3-BDC1DE903D07"},"1521":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:41:46 GMT+0200 (CEST)"},"1522":{"date":{"__isSmartRef__":true,"id":1523},"author":"tessi","message":"","id":"037D4B98-0FC3-4F01-AAC5-1A7043695CDF"},"1523":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:42:21 GMT+0200 (CEST)"},"1524":{"date":{"__isSmartRef__":true,"id":1525},"author":"tessi","message":"","id":"27266C01-3C1A-49AC-ADAF-D4699D234741"},"1525":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:23:00 GMT+0200 (CEST)"},"1526":{"date":{"__isSmartRef__":true,"id":1527},"author":"tessi","message":"an ogre now talks some sentences when soliloquizing","id":"9B52F781-C25B-44D7-B07A-BF47EA424C08"},"1527":{"isSerializedDate":true,"string":"Sat Apr 21 2012 17:34:12 GMT+0200 (CEST)"},"1528":{"date":{"__isSmartRef__":true,"id":1529},"author":"lauritz","message":"no comment","id":"A49B0290-BC2D-4D41-9981-C0207ECC4EE5"},"1529":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:29:57 GMT+0200 (CEST)"},"1530":{"soliloquize":{"__isSmartRef__":true,"id":1531}},"1531":{"varMapping":{"__isSmartRef__":true,"id":1532},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"Awwwwrrrr!\",\n \"ogre tasty humans eat\",\n \"*urgs*\",\n \"Me very hungry. Ogre sad.\",\n \"... this stone was tasty\",\n \"things that don't talk, don't taste good\",\n \"Flowers make ogre ANGRY!\",\n \"People say ogre stupid. But ogre happy, poeple not\",\n \"i put programmers on cupboards\",\n \"fiiiire!!\",\n \"humans smell, but taste\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1533},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1532":{"this":{"__isSmartRef__":true,"id":1507}},"1533":{"timestamp":{"__isSmartRef__":true,"id":1534},"user":"lauritz","tags":[]},"1534":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:26:22 GMT+0200 (CEST)"},"1535":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1536},"derivationIds":[null,"17C4EE97-826C-415A-8C15-DF1797CB94E9","1CBEA615-0810-4FA0-8E3E-7F3EA1A4D49C","5A113B50-083E-46E1-B093-F54D8AE1FFCC","4C563B33-6C0F-4CD3-85B2-2CDD62EDB4A8"],"id":"B61E47CF-CD10-483D-9819-AB0435F5AC80","renderContextTable":{"__isSmartRef__":true,"id":1541},"eventHandler":{"__isSmartRef__":true,"id":1542},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1543},"name":"VillagegirlCharacter","priorExtent":{"__isSmartRef__":true,"id":1544},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1545},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","owner":null,"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1554},"__LivelyClassName__":"lively.morphic.Image"},"1536":{"_Position":{"__isSmartRef__":true,"id":1537},"renderContextTable":{"__isSmartRef__":true,"id":1538},"_Extent":{"__isSmartRef__":true,"id":1539},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1540},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/villagegirl.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1537":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1538":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1539":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1540":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1541":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1542":{"morph":{"__isSmartRef__":true,"id":1535},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1543":{"x":244.30124558109674,"y":419.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1544":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1545":{"partName":"VillagegirlCharacter","requiredModules":[],"comment":"An animated FreedomOfSpeech Character. I fancy the stupid villager,... he's such a character!","changes":[{"__isSmartRef__":true,"id":1546},{"__isSmartRef__":true,"id":1548},{"__isSmartRef__":true,"id":1550},{"__isSmartRef__":true,"id":1552}],"migrationLevel":4,"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":156214,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1546":{"date":{"__isSmartRef__":true,"id":1547},"author":"lauritz","message":"no comment","id":"26E4F80D-E6CB-4378-A1E2-9356985982BD"},"1547":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:51 GMT+0200 (CEST)"},"1548":{"date":{"__isSmartRef__":true,"id":1549},"author":"tessi","message":"","id":"580730F8-4523-440B-BC81-8DCF393E801E"},"1549":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:44:22 GMT+0200 (CEST)"},"1550":{"date":{"__isSmartRef__":true,"id":1551},"author":"tessi","message":"","id":"40AE07CC-8956-4025-B814-281AF77CE49A"},"1551":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:36:46 GMT+0200 (CEST)"},"1552":{"date":{"__isSmartRef__":true,"id":1553},"author":"tessi","message":"The villagegirl talks","id":"6E077572-F568-45ED-9BEB-8119C2937546"},"1553":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:36:16 GMT+0200 (CEST)"},"1554":{"soliloquize":{"__isSmartRef__":true,"id":1555}},"1555":{"varMapping":{"__isSmartRef__":true,"id":1556},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"*blush*\",\n \"I'm afraid of ogres!\",\n \"Can someone help me please?\",\n \"Lovely flowers!\",\n \"Hope someone will marry me\",\n \"Mother said I'm beautiful\",\n \"Oh! A butterfly!\",\n \"Am I a lively object?\",\n \"I wanna become America's Next Topmodel!\",\n \"Math is sooo difficult!\",\n \"Isn't the villager a real character?\",\n \"Pink is the new red!\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1557},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1556":{"this":{"__isSmartRef__":true,"id":1535}},"1557":{"timestamp":{"__isSmartRef__":true,"id":1558},"user":"lauritz","tags":[]},"1558":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:47 GMT+0200 (CEST)"},"1559":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1560},"derivationIds":[null,"B92FC6A0-9182-4008-A4D3-70E96420A6D7","985C903B-2533-41D1-8CC0-D54E9F519C16","D600725A-EA19-4BC4-9288-17D864E6BC4A","C33BB11D-8706-4E40-9E31-55025A5FB55F"],"id":"DE402BA3-966D-47DC-BEC4-33F1C6A760F1","renderContextTable":{"__isSmartRef__":true,"id":1565},"eventHandler":{"__isSmartRef__":true,"id":1566},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1567},"name":"VillagerCharacter","priorExtent":{"__isSmartRef__":true,"id":1568},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1569},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","owner":null,"_Rotation":0,"_Scale":1.002003004005006,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1578},"__LivelyClassName__":"lively.morphic.Image"},"1560":{"_Position":{"__isSmartRef__":true,"id":1561},"renderContextTable":{"__isSmartRef__":true,"id":1562},"_Extent":{"__isSmartRef__":true,"id":1563},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1564},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/villager.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"1561":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1562":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"1563":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1564":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1565":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1566":{"morph":{"__isSmartRef__":true,"id":1559},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1567":{"x":322.30124558109674,"y":436.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1568":{"x":200,"y":200,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1569":{"partName":"VillagerCharacter","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech/","comment":"An animated male character. He knows not too much and is always undecided.","changes":[{"__isSmartRef__":true,"id":1570},{"__isSmartRef__":true,"id":1572},{"__isSmartRef__":true,"id":1574},{"__isSmartRef__":true,"id":1576}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":156242,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1570":{"date":{"__isSmartRef__":true,"id":1571},"author":"lauritz","message":"no comment","id":"A4FBB639-0C0D-4125-8C7F-AA2222B725A0"},"1571":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:35:23 GMT+0200 (CEST)"},"1572":{"date":{"__isSmartRef__":true,"id":1573},"author":"tessi","message":"","id":"3EFBCB6C-DA48-4D0F-BD8D-1BB8BB59EFD7"},"1573":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:45:13 GMT+0200 (CEST)"},"1574":{"date":{"__isSmartRef__":true,"id":1575},"author":"tessi","message":"","id":"5FF65A56-3684-43C4-AFCE-57C257420F5B"},"1575":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:40:03 GMT+0200 (CEST)"},"1576":{"date":{"__isSmartRef__":true,"id":1577},"author":"tessi","message":"the villager talks!","id":"1706B121-230C-4CC8-91FD-3EEC9CBDFEBA"},"1577":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:27:38 GMT+0200 (CEST)"},"1578":{"soliloquize":{"__isSmartRef__":true,"id":1579}},"1579":{"varMapping":{"__isSmartRef__":true,"id":1580},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"I should find a girl!\",\n \"Is this octocat-thing male or female?\",\n \".. there are so many questions ..\",\n \"The cake is a lie!\",\n \"Britney is the best!\",\n \"Paris Hilton! you know?.. this Hotel in Paris\",\n \"*pff* girls ..\",\n \"...\",\n \"looks like i'm a hunter\",\n \"not as strong as an ogre, not as smart as the other guys\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":1581},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1580":{"this":{"__isSmartRef__":true,"id":1559}},"1581":{"timestamp":{"__isSmartRef__":true,"id":1582},"user":"lauritz","tags":[]},"1582":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:35:19 GMT+0200 (CEST)"},"1583":{"submorphs":[],"scripts":[],"id":"86070525-2B14-4D94-8644-E7E8CA7CF868","shape":{"__isSmartRef__":true,"id":1584},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1590},"showsHalos":false,"name":"Tile","partsBinMetaInfo":{"__isSmartRef__":true,"id":1591},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1694},"eventHandler":{"__isSmartRef__":true,"id":1695},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","DF863BAB-9987-4611-BCD2-DE9FDCE7D3B5","768ED97D-1E05-415B-AB3F-B6495AC603A0","5A0ECA63-F6E2-4E35-B9A2-75DE2A4C4158","3B4EDC8A-0E99-4F45-A6D5-5CCE7E75BC88","1A900574-7D84-44F3-BB9D-1A1E26FDDB9B","383B3B54-4D0D-42E5-88C6-460045549029","EFC22A04-8B3C-48A8-9C5F-1EBC66DFD6D6","52D7E09F-EA1F-44D5-A893-F72A70D40429","CAC332B2-DA3A-4534-B3C7-E03D31DE9D2C","2CDD083E-3AB7-4BB9-B6D1-A70716226BDF","5044B03C-1B55-48CB-9DE6-3844ED1FCD7D","F5F5A304-DAA0-4649-9CDE-605226A1CE51","4BC91A43-D259-43A1-819C-B2FE6CB08399","92B467E3-3189-4EFE-9BFB-4AF361018F35","A6B1593D-21F4-49B7-ABC8-FB9FACE91746","2598E54C-7F59-4753-8889-AEFE09E2CAC0","179AF98E-33AB-4114-B55B-4DFB00BDBDA8","AD778DCD-FF13-4F2E-AB38-F63BA8A15C58","04E48596-4C98-445F-B60B-2348EF53930E","BB54A7B7-E7CB-41C0-B027-77AB7D9BF27E","8DFD2C9E-23E1-41AF-8968-A62A3DE71693","2D8830D3-1DB9-4797-9AE8-20CA03139825","BD54D555-6E94-48EB-8C62-8F80A32960EA","F46B080F-9459-4295-8DB2-BED5809251AE","6A43BDE1-6AC7-4008-9AD0-06385EE78307","C3AB7721-B23E-4DAB-BE9A-22733BC3382E","1E1907C1-2AD2-452E-BADD-54F706B3B910","50E5C852-3D41-4257-AFF7-7EF1CEEC15E3","12768283-E36A-48B6-AB18-6384D99ADA14","A4849D36-6340-4578-BAFB-53E4D17027D7","12E4C56B-9222-43E4-9620-C41E062EBAC7","0212C096-5FD3-45BB-BABB-E16293175AB7","73176B5A-836A-48B2-9003-38573BE53D84","FA828EF3-B4D3-4543-83BE-FA33CE63F260","CBD9C7C8-3FA1-47AE-9C23-CCC4E7C7ED3A"],"partTests":{"__isSmartRef__":true,"id":1696},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1701},"moved":true,"_ClipMode":"visible","__obstacles":[],"row":5,"column":1,"terrain":null,"grabbingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1702},"prevScroll":[0,0],"owner":null,"_Rotation":0,"_Scale":1.0141055623885957,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1703},"__LivelyClassName__":"lively.morphic.Box"},"1584":{"position":{"__isSmartRef__":true,"id":1585},"_Extent":{"__isSmartRef__":true,"id":1586},"_BorderWidth":1.148,"_BorderColor":{"__isSmartRef__":true,"id":1587},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1588},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1589},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1585":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1586":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1587":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1588":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1589":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1590":{"x":693.3012455810967,"y":103.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1591":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A thing that renders itself onto a tile and tells the occluded tiles about the obstacle","migrationLevel":4,"partName":"Tile","changes":[{"__isSmartRef__":true,"id":1592},{"__isSmartRef__":true,"id":1594},{"__isSmartRef__":true,"id":1596},{"__isSmartRef__":true,"id":1598},{"__isSmartRef__":true,"id":1600},{"__isSmartRef__":true,"id":1602},{"__isSmartRef__":true,"id":1604},{"__isSmartRef__":true,"id":1606},{"__isSmartRef__":true,"id":1608},{"__isSmartRef__":true,"id":1610},{"__isSmartRef__":true,"id":1612},{"__isSmartRef__":true,"id":1614},{"__isSmartRef__":true,"id":1616},{"__isSmartRef__":true,"id":1618},{"__isSmartRef__":true,"id":1620},{"__isSmartRef__":true,"id":1622},{"__isSmartRef__":true,"id":1624},{"__isSmartRef__":true,"id":1626},{"__isSmartRef__":true,"id":1628},{"__isSmartRef__":true,"id":1630},{"__isSmartRef__":true,"id":1632},{"__isSmartRef__":true,"id":1634},{"__isSmartRef__":true,"id":1636},{"__isSmartRef__":true,"id":1638},{"__isSmartRef__":true,"id":1640},{"__isSmartRef__":true,"id":1642},{"__isSmartRef__":true,"id":1644},{"__isSmartRef__":true,"id":1646},{"__isSmartRef__":true,"id":1648},{"__isSmartRef__":true,"id":1650},{"__isSmartRef__":true,"id":1652},{"__isSmartRef__":true,"id":1654},{"__isSmartRef__":true,"id":1656},{"__isSmartRef__":true,"id":1658},{"__isSmartRef__":true,"id":1660},{"__isSmartRef__":true,"id":1662},{"__isSmartRef__":true,"id":1664},{"__isSmartRef__":true,"id":1666},{"__isSmartRef__":true,"id":1668},{"__isSmartRef__":true,"id":1670},{"__isSmartRef__":true,"id":1672},{"__isSmartRef__":true,"id":1674},{"__isSmartRef__":true,"id":1676},{"__isSmartRef__":true,"id":1678},{"__isSmartRef__":true,"id":1680},{"__isSmartRef__":true,"id":1682},{"__isSmartRef__":true,"id":1684},{"__isSmartRef__":true,"id":1686},{"__isSmartRef__":true,"id":1688},{"__isSmartRef__":true,"id":1690},{"__isSmartRef__":true,"id":1692}],"revisionOnLoad":159891,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1592":{"date":{"__isSmartRef__":true,"id":1593},"author":"tessi","message":"no comment","id":"928E1DC4-09B5-46D7-A245-48E332175C68"},"1593":{"isSerializedDate":true,"string":"Fri May 04 2012 17:01:42 GMT+0200 (CEST)"},"1594":{"date":{"__isSmartRef__":true,"id":1595},"author":"tessi","message":"normal border color is transparent","id":"94D5AA98-D1D9-4C6F-BED3-828305C3F390"},"1595":{"isSerializedDate":true,"string":"Thu May 03 2012 15:25:32 GMT+0200 (CEST)"},"1596":{"date":{"__isSmartRef__":true,"id":1597},"author":"timfelgentreff","message":"add a neighboursReachableFromHere function, so we can return only neighbours that are reachable to A*","id":"646448AF-6B6F-4D4E-900B-2DC7B927ACE8"},"1597":{"isSerializedDate":true,"string":"Thu May 03 2012 13:29:50 GMT+0200 (CEST)"},"1598":{"date":{"__isSmartRef__":true,"id":1599},"author":"tessi","message":"fix neighbours calculation","id":"F2AE41B4-A670-4277-B7F3-5BCC20D74ECE"},"1599":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:55:48 GMT+0200 (CEST)"},"1600":{"date":{"__isSmartRef__":true,"id":1601},"author":"timfelgentreff","message":"revert caching","id":"03257D32-EA99-4EA6-8CFA-D6C55E6A4D96"},"1601":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:20:05 GMT+0200 (CEST)"},"1602":{"date":{"__isSmartRef__":true,"id":1603},"author":"lauritz","message":"no comment","id":"2A0ACEC2-2DDA-4061-9ECE-8D49CCD6C0A0"},"1603":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:00:07 GMT+0200 (CEST)"},"1604":{"date":{"__isSmartRef__":true,"id":1605},"author":"tessi","message":"added stub method for getting characters standing on the tile","id":"2DD011DC-7ABF-4928-A2EE-FDA603BCB307"},"1605":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:22:23 GMT+0200 (CEST)"},"1606":{"date":{"__isSmartRef__":true,"id":1607},"author":"timfelgentreff","message":"copy properties,too, so we can publish","id":"409A8B29-1CB7-4C30-B420-7F0FEB4489EA"},"1607":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:48:47 GMT+0200 (CEST)"},"1608":{"date":{"__isSmartRef__":true,"id":1609},"author":"timfelgentreff","message":"avoid setting props in shallowCopy","id":"0102BAF0-8471-4805-98CB-FFA285A96B15"},"1609":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:45:14 GMT+0200 (CEST)"},"1610":{"date":{"__isSmartRef__":true,"id":1611},"author":"tessi","message":"added reset() method. use game() and map() instead of get() calls","id":"5B2AF6B7-3DC9-4EE1-A616-6510338BA091"},"1611":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:18:16 GMT+0200 (CEST)"},"1612":{"date":{"__isSmartRef__":true,"id":1613},"author":"timfelgentreff","message":"no comment","id":"957E9210-4394-452A-9291-BD0E8FA736BF"},"1613":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:28:00 GMT+0200 (CEST)"},"1614":{"date":{"__isSmartRef__":true,"id":1615},"author":"timfelgentreff","message":"no comment","id":"6BBA00B9-6D11-4D9D-B6E9-95FE7CC915CD"},"1615":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:20:14 GMT+0200 (CEST)"},"1616":{"date":{"__isSmartRef__":true,"id":1617},"author":"tessi","message":"revert timfels last commit (tile was overwritten with thing)","id":"27A8A743-D064-44C6-948E-8E3D5118790D"},"1617":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:34:17 GMT+0200 (CEST)"},"1618":{"date":{"__isSmartRef__":true,"id":1619},"author":"timfelgentreff","message":"","id":"F01F7BC6-E59F-4B63-8A3D-10C3AC3E34FD"},"1619":{"isSerializedDate":true,"string":"Fri Apr 20 2012 08:22:08 GMT+0200 (CEST)"},"1620":{"date":{"__isSmartRef__":true,"id":1621},"author":"timfelgentreff","message":"","id":"B5D9BC0C-15F0-4AE7-884B-48515F6A030E"},"1621":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:08:19 GMT+0200 (CEST)"},"1622":{"date":{"__isSmartRef__":true,"id":1623},"author":"timfelgentreff","message":"","id":"07EE540F-D786-49CC-8DD0-56F6B3AC6716"},"1623":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:43:41 GMT+0200 (CEST)"},"1624":{"date":{"__isSmartRef__":true,"id":1625},"author":"timfelgentreff","message":"","id":"4978F7BB-7FF5-47C1-8A55-6CAB03479B28"},"1625":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:41:12 GMT+0200 (CEST)"},"1626":{"date":{"__isSmartRef__":true,"id":1627},"author":"timfelgentreff","message":"","id":"18365ED6-1BC8-43AD-ADC8-2B0C8005B784"},"1627":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:23:38 GMT+0200 (CEST)"},"1628":{"date":{"__isSmartRef__":true,"id":1629},"author":"lauritz","message":"","id":"CFD35308-806E-4804-8706-15DA1CEC5743"},"1629":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:49:16 GMT+0200 (CEST)"},"1630":{"date":{"__isSmartRef__":true,"id":1631},"author":"timfelgentreff","message":"","id":"DE0AC226-458D-416E-A42C-BAA848650C4C"},"1631":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:28:14 GMT+0200 (CEST)"},"1632":{"date":{"__isSmartRef__":true,"id":1633},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1633":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1634":{"date":{"__isSmartRef__":true,"id":1635},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1635":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1636":{"date":{"__isSmartRef__":true,"id":1637},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1637":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1638":{"date":{"__isSmartRef__":true,"id":1639},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1639":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1640":{"date":{"__isSmartRef__":true,"id":1641},"author":"timfelgentreff","message":"","id":"0672C6C8-D032-495B-B9EE-E41F194C86DE"},"1641":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:19:15 GMT+0200 (CEST)"},"1642":{"date":{"__isSmartRef__":true,"id":1643},"author":"timfelgentreff","message":"","id":"E1AA7A8A-D3C5-4263-9A1E-91C13F532ED6"},"1643":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:23:55 GMT+0200 (CEST)"},"1644":{"date":{"__isSmartRef__":true,"id":1645},"author":"timfelgentreff","message":"","id":"563A8831-9CE6-49D1-B87D-453B761FB751"},"1645":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:53 GMT+0200 (CEST)"},"1646":{"date":{"__isSmartRef__":true,"id":1647},"author":"timfelgentreff","message":"","id":"F4CC9F23-A50B-4206-A549-A610CC9C69AC"},"1647":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:11:38 GMT+0200 (CEST)"},"1648":{"date":{"__isSmartRef__":true,"id":1649},"author":"timfelgentreff","message":"","id":"24121E2C-3B59-48EF-8026-290C8D296496"},"1649":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:02:53 GMT+0200 (CEST)"},"1650":{"date":{"__isSmartRef__":true,"id":1651},"author":"timfelgentreff","message":"","id":"6D9186F6-64FC-48E0-95AF-27E462A13E1D"},"1651":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:55:04 GMT+0200 (CEST)"},"1652":{"date":{"__isSmartRef__":true,"id":1653},"author":"timfelgentreff","message":"","id":"DF45FC66-1C49-447D-914F-A905DA0AECB2"},"1653":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:47 GMT+0200 (CEST)"},"1654":{"date":{"__isSmartRef__":true,"id":1655},"author":"timfelgentreff","message":"","id":"712D65D3-A68A-47B9-AFDC-B20E826217DB"},"1655":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:00:26 GMT+0200 (CEST)"},"1656":{"date":{"__isSmartRef__":true,"id":1657},"author":"timfelgentreff","message":"a thing that renders itself onto a tile and tells the occluded tiles about the obstacle","id":"ADB36180-974D-4994-9149-6318E7F62D62"},"1657":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:29:15 GMT+0200 (CEST)"},"1658":{"date":{"__isSmartRef__":true,"id":1659},"author":"timfelgentreff","message":"change obstacle logic, adds support for a list of obstacles. obstacles can be added and removed","id":"0EF07087-0018-425F-AB43-3F843AFCB7E1"},"1659":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:16:14 GMT+0200 (CEST)"},"1660":{"date":{"__isSmartRef__":true,"id":1661},"author":"timfelgentreff","message":"things support","id":"DD13E7D3-6948-4B69-947A-24A2B084646B"},"1661":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:31:58 GMT+0200 (CEST)"},"1662":{"date":{"__isSmartRef__":true,"id":1663},"author":"timfelgentreff","message":"fix adding obstacles","id":"891954C6-3DC3-41AC-8038-4E7C028B0147"},"1663":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:50:37 GMT+0200 (CEST)"},"1664":{"date":{"__isSmartRef__":true,"id":1665},"author":"timfelgentreff","message":"no comment","id":"4571845C-4F67-4DD6-954F-B93B98F8DDF3"},"1665":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:35:25 GMT+0200 (CEST)"},"1666":{"date":{"__isSmartRef__":true,"id":1667},"author":"timfelgentreff","message":"show obstacle state in dev style","id":"9FD0FE89-0EE1-4499-B055-D2C077CCEACA"},"1667":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:37:34 GMT+0200 (CEST)"},"1668":{"date":{"__isSmartRef__":true,"id":1669},"author":"timfelgentreff","message":"no comment","id":"181F2453-F14A-4CC7-BFF0-910480CD4B1F"},"1669":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:39:23 GMT+0200 (CEST)"},"1670":{"date":{"__isSmartRef__":true,"id":1671},"author":"timfelgentreff","message":"add shallowCopy","id":"86DCAE73-A5D2-470F-BF0E-77E914236CEA"},"1671":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:10:22 GMT+0200 (CEST)"},"1672":{"date":{"__isSmartRef__":true,"id":1673},"author":"timfelgentreff","message":"fix shallowCopy","id":"5DDF2C7F-DEE5-4161-A515-B5831A00DCB3"},"1673":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:13:27 GMT+0200 (CEST)"},"1674":{"date":{"__isSmartRef__":true,"id":1675},"author":"timfelgentreff","message":"uncomment return","id":"21656693-2A83-4D04-9612-55622B41EB18"},"1675":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:46:38 GMT+0200 (CEST)"},"1676":{"date":{"__isSmartRef__":true,"id":1677},"author":"timfelgentreff","message":"revert last commit","id":"DEE21763-B63C-41AF-917B-4481E54000AF"},"1677":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:53:55 GMT+0200 (CEST)"},"1678":{"date":{"__isSmartRef__":true,"id":1679},"author":"lauritz","message":"","id":"AC05F3B3-162F-4A75-A601-EA5F744AC530"},"1679":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:25:17 GMT+0200 (CEST)"},"1680":{"date":{"__isSmartRef__":true,"id":1681},"author":"timfelgentreff","message":"Use a cache and shallow copying for become(terrain); fix onMouseDown when not in a Map","id":"9846F542-FBA4-4E6E-95E7-760FEC0B1848"},"1681":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:12:58 GMT+0200 (CEST)"},"1682":{"date":{"__isSmartRef__":true,"id":1683},"author":"tessi","message":"let characters register themself when enter/leave the tile","id":"9095AE1D-1FE5-44A4-9A4E-C9C39B1C4F40"},"1683":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:48 GMT+0200 (CEST)"},"1684":{"date":{"__isSmartRef__":true,"id":1685},"author":"tessi","message":"cache Neighbours","id":"5AE79688-A888-4376-8A8F-63679330D24C"},"1685":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:34:19 GMT+0200 (CEST)"},"1686":{"date":{"__isSmartRef__":true,"id":1687},"author":"tessi","message":"","id":"CDFC653A-73C4-4FEF-BF2F-E515698C9D49"},"1687":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:40:27 GMT+0200 (CEST)"},"1688":{"date":{"__isSmartRef__":true,"id":1689},"author":"timfelgentreff","message":"no comment","id":"3D7FD71F-6695-46ED-915B-DACB2BDD66EC"},"1689":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:17:11 GMT+0200 (CEST)"},"1690":{"date":{"__isSmartRef__":true,"id":1691},"author":"tessi","message":"cannot set color to null","id":"A33818D9-5418-451A-86B6-17C0E01E3D95"},"1691":{"isSerializedDate":true,"string":"Thu May 03 2012 15:20:35 GMT+0200 (CEST)"},"1692":{"date":{"__isSmartRef__":true,"id":1693},"author":"lauritz","message":"difference between dev and normal style in border-width","id":"3001D4D8-C44F-49E0-8101-5726A7ACFD8F"},"1693":{"isSerializedDate":true,"string":"Mon May 07 2012 18:54:58 GMT+0200 (CEST)"},"1694":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1695":{"morph":{"__isSmartRef__":true,"id":1583},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1696":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1697}},"1697":{"test01IsMorph":{"__isSmartRef__":true,"id":1698}},"1698":{"varMapping":{"__isSmartRef__":true,"id":1699},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1700},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1699":{"this":{"__isSmartRef__":true,"id":1696}},"1700":{},"1701":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1702":{"x":61,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1703":{"setDevStyle":{"__isSmartRef__":true,"id":1704},"setNormalStyle":{"__isSmartRef__":true,"id":1708},"tileSize":{"__isSmartRef__":true,"id":1712},"become":{"__isSmartRef__":true,"id":1716},"onMouseDown":{"__isSmartRef__":true,"id":1720},"setGridPosition":{"__isSmartRef__":true,"id":1728},"toolbox":{"__isSmartRef__":true,"id":1732},"distanceTo":{"__isSmartRef__":true,"id":1736},"tileWasDropped":{"__isSmartRef__":true,"id":1740},"isObstacle":{"__isSmartRef__":true,"id":1744},"neighboursInDirection":{"__isSmartRef__":true,"id":1748},"neighbours":{"__isSmartRef__":true,"id":1752},"zIndex":{"__isSmartRef__":true,"id":1756},"obstacles":{"__isSmartRef__":true,"id":1760},"addObstacle":{"__isSmartRef__":true,"id":1764},"removeObstacle":{"__isSmartRef__":true,"id":1768},"isTile":{"__isSmartRef__":true,"id":1772},"neighbourAt":{"__isSmartRef__":true,"id":1776},"map":{"__isSmartRef__":true,"id":1780},"game":{"__isSmartRef__":true,"id":1784},"reset":{"__isSmartRef__":true,"id":1788},"shallowCopy":{"__isSmartRef__":true,"id":1792},"characters":{"__isSmartRef__":true,"id":1796},"enterTile":{"__isSmartRef__":true,"id":1800},"leaveTile":{"__isSmartRef__":true,"id":1804},"neighboursReachableFromHere":{"__isSmartRef__":true,"id":1808}},"1704":{"varMapping":{"__isSmartRef__":true,"id":1705},"source":"function setDevStyle() {\n this.setExtent(this.tileSize())\n this.setFill(null)\n this.setBorderWidth(1)\n if (this.isObstacle()) {\n this.shape.setOpacity(0.8)\n this.shape.setBorderColor(Color.gray)\n } else {\n this.setBorderColor(Color.red)\n }\n this.submorphs.each(function (ea) {\n if (ea.setDevStyle) ea.setDevStyle()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1706},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1705":{"this":{"__isSmartRef__":true,"id":1583}},"1706":{"timestamp":{"__isSmartRef__":true,"id":1707},"user":"lauritz","tags":[]},"1707":{"isSerializedDate":true,"string":"Mon May 07 2012 18:57:47 GMT+0200 (CEST)"},"1708":{"varMapping":{"__isSmartRef__":true,"id":1709},"source":"function setNormalStyle() {\n this.setFill(null)\n this.setBorderWidth(0)\n this.setOpacity(1)\n this.submorphs.each(function (ea) {\n if (ea.setNormalStyle) ea.setNormalStyle()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1710},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1709":{"this":{"__isSmartRef__":true,"id":1583}},"1710":{"timestamp":{"__isSmartRef__":true,"id":1711},"user":"lauritz","tags":[]},"1711":{"isSerializedDate":true,"string":"Mon May 07 2012 18:58:21 GMT+0200 (CEST)"},"1712":{"varMapping":{"__isSmartRef__":true,"id":1713},"source":"function tileSize() {\n return pt(48,48)\n}","funcProperties":{"__isSmartRef__":true,"id":1714},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1713":{"this":{"__isSmartRef__":true,"id":1583}},"1714":{"timestamp":{"__isSmartRef__":true,"id":1715},"user":"tessi","tags":[]},"1715":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:04:53 GMT+0200 (CEST)"},"1716":{"varMapping":{"__isSmartRef__":true,"id":1717},"source":"function become(terrainName) {\n var terrain = this.toolbox(terrainName)\n\n if (terrain) {\n if (this.terrain) {\n this.terrain.remove();\n }\n this.terrain = terrain;\n terrain.setExtent(this.tileSize())\n terrain.setPosition(pt(0,0))\n terrain.disableDropping();\n terrain.disableGrabbing();\n terrain.disableDragging();\n terrain.ignoreEvents();\n this.addMorph(terrain)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1718},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1717":{"this":{"__isSmartRef__":true,"id":1583}},"1718":{"timestamp":{"__isSmartRef__":true,"id":1719},"user":"lauritz","tags":[]},"1719":{"isSerializedDate":true,"string":"Fri May 04 2012 13:31:11 GMT+0200 (CEST)"},"1720":{"varMapping":{"__isSmartRef__":true,"id":1721},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.map().game && this.game().selectedUnit) {\n this.game().selectedUnit.walkTo(this)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1726},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1721":{"this":{"__isSmartRef__":true,"id":1583},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1722}},"1722":{"$super":{"__isSmartRef__":true,"id":1723}},"1723":{"varMapping":{"__isSmartRef__":true,"id":1724},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1725},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1724":{"obj":{"__isSmartRef__":true,"id":1583},"name":"onMouseDown"},"1725":{},"1726":{"timestamp":{"__isSmartRef__":true,"id":1727},"user":"timfelgentreff","tags":[]},"1727":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:12:14 GMT+0200 (CEST)"},"1728":{"varMapping":{"__isSmartRef__":true,"id":1729},"source":"function setGridPosition(column, row) {\n this.row = row\n this.column = column\n this.setPosition(pt(column,row).scaleByPt(this.tileSize()))\n}","funcProperties":{"__isSmartRef__":true,"id":1730},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1729":{"this":{"__isSmartRef__":true,"id":1583}},"1730":{"timestamp":{"__isSmartRef__":true,"id":1731},"user":"timfelgentreff","tags":[]},"1731":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:23:15 GMT+0200 (CEST)"},"1732":{"varMapping":{"__isSmartRef__":true,"id":1733},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":1734},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1733":{"this":{"__isSmartRef__":true,"id":1583}},"1734":{"timestamp":{"__isSmartRef__":true,"id":1735},"user":"tessi","tags":[]},"1735":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:15:20 GMT+0200 (CEST)"},"1736":{"varMapping":{"__isSmartRef__":true,"id":1737},"source":"function distanceTo(tile) {\n return pt(tile.column - this.column, tile.row - this.row)\n}","funcProperties":{"__isSmartRef__":true,"id":1738},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1737":{"this":{"__isSmartRef__":true,"id":1583}},"1738":{"timestamp":{"__isSmartRef__":true,"id":1739},"user":"timfelgentreff","tags":[]},"1739":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:02 GMT+0200 (CEST)"},"1740":{"varMapping":{"__isSmartRef__":true,"id":1741},"source":"function tileWasDropped(aTile) {\n this.become(aTile);\n}","funcProperties":{"__isSmartRef__":true,"id":1742},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1741":{"this":{"__isSmartRef__":true,"id":1583}},"1742":{"timestamp":{"__isSmartRef__":true,"id":1743},"user":"lauritz","tags":[]},"1743":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:52:54 GMT+0200 (CEST)"},"1744":{"varMapping":{"__isSmartRef__":true,"id":1745},"source":"function isObstacle() {\n return (this.terrain && this.terrain.isObstacle) || (this.obstacles().size() > 0)\n}","funcProperties":{"__isSmartRef__":true,"id":1746},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1745":{"this":{"__isSmartRef__":true,"id":1583}},"1746":{"timestamp":{"__isSmartRef__":true,"id":1747},"user":"timfelgentreff","tags":[]},"1747":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:19:43 GMT+0200 (CEST)"},"1748":{"varMapping":{"__isSmartRef__":true,"id":1749},"source":"function neighboursInDirection(point) {\n var that = this;\n return [this.map().tiles[this.column + point.x][this.row],\n this.map().tiles[this.column + point.x][this.row + point.y],\n this.map().tiles[this.column][this.row + point.y]\n ].reject(function (each) { return each === that || !each }).uniq()\n}","funcProperties":{"__isSmartRef__":true,"id":1750},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1749":{"this":{"__isSmartRef__":true,"id":1583}},"1750":{"timestamp":{"__isSmartRef__":true,"id":1751},"user":"tessi","tags":[]},"1751":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:13:24 GMT+0200 (CEST)"},"1752":{"varMapping":{"__isSmartRef__":true,"id":1753},"source":"function neighbours() {\n if (this.cachedNeightbours) { return this.cachedNeightbours }\n this.cachedNeightbours = []\n var tile = null;\n for(var i = this.row - 1; i <= this.row + 1; i++) {\n for(var j = this.column - 1; j <= this.column + 1; j++) {\n column = this.map().tiles[j]\n if (column) {\n tile = column[i]\n if (tile && tile !== this) {\n this.cachedNeightbours.push(tile)\n }\n }\n }\n }\n return this.cachedNeightbours\n}","funcProperties":{"__isSmartRef__":true,"id":1754},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1753":{"this":{"__isSmartRef__":true,"id":1583}},"1754":{"timestamp":{"__isSmartRef__":true,"id":1755},"user":"tessi","tags":[]},"1755":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:55:34 GMT+0200 (CEST)"},"1756":{"varMapping":{"__isSmartRef__":true,"id":1757},"source":"function zIndex() {\n return this.renderContext().morphNode.style.zIndex\n}","funcProperties":{"__isSmartRef__":true,"id":1758},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1757":{"this":{"__isSmartRef__":true,"id":1583}},"1758":{"timestamp":{"__isSmartRef__":true,"id":1759},"user":"timfelgentreff","tags":[]},"1759":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:54:56 GMT+0200 (CEST)"},"1760":{"varMapping":{"__isSmartRef__":true,"id":1761},"source":"function obstacles() {\n if (!this[\"__obstacles\"]) this[\"__obstacles\"] = []\n return this[\"__obstacles\"]\n}","funcProperties":{"__isSmartRef__":true,"id":1762},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1761":{"this":{"__isSmartRef__":true,"id":1583}},"1762":{"timestamp":{"__isSmartRef__":true,"id":1763},"user":"timfelgentreff","tags":[]},"1763":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:53:52 GMT+0200 (CEST)"},"1764":{"varMapping":{"__isSmartRef__":true,"id":1765},"source":"function addObstacle(thing) {\n if (!this.obstacles().member(thing)) {\n this.obstacles().push(thing)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1766},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1765":{"this":{"__isSmartRef__":true,"id":1583}},"1766":{"timestamp":{"__isSmartRef__":true,"id":1767},"user":"timfelgentreff","tags":[]},"1767":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:50:17 GMT+0200 (CEST)"},"1768":{"varMapping":{"__isSmartRef__":true,"id":1769},"source":"function removeObstacle(thing) {\n var idx = this.obstacles().indexOf(thing)\n if (idx >= 0) {\n this.obstacles().removeAt(idx)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1770},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1769":{"this":{"__isSmartRef__":true,"id":1583}},"1770":{"timestamp":{"__isSmartRef__":true,"id":1771},"user":"timfelgentreff","tags":[]},"1771":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:54:03 GMT+0200 (CEST)"},"1772":{"varMapping":{"__isSmartRef__":true,"id":1773},"source":"function isTile() {\n return true\n}","funcProperties":{"__isSmartRef__":true,"id":1774},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1773":{"this":{"__isSmartRef__":true,"id":1583}},"1774":{"timestamp":{"__isSmartRef__":true,"id":1775},"user":"timfelgentreff","tags":[]},"1775":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:09:57 GMT+0200 (CEST)"},"1776":{"varMapping":{"__isSmartRef__":true,"id":1777},"source":"function neighbourAt(point) {\n var column = this.map().tiles[this.column + point.x]\n if (column) {\n return column[this.row + point.y]\n }\n return null\n}","funcProperties":{"__isSmartRef__":true,"id":1778},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1777":{"this":{"__isSmartRef__":true,"id":1583}},"1778":{"timestamp":{"__isSmartRef__":true,"id":1779},"user":"tessi","tags":[]},"1779":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:11:55 GMT+0200 (CEST)"},"1780":{"varMapping":{"__isSmartRef__":true,"id":1781},"source":"function map() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1782},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1781":{"this":{"__isSmartRef__":true,"id":1583}},"1782":{"timestamp":{"__isSmartRef__":true,"id":1783},"user":"tessi","tags":[]},"1783":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:11:37 GMT+0200 (CEST)"},"1784":{"varMapping":{"__isSmartRef__":true,"id":1785},"source":"function game() {\n return this.map().game()\n}","funcProperties":{"__isSmartRef__":true,"id":1786},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1785":{"this":{"__isSmartRef__":true,"id":1583}},"1786":{"timestamp":{"__isSmartRef__":true,"id":1787},"user":"tessi","tags":[]},"1787":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:13:57 GMT+0200 (CEST)"},"1788":{"varMapping":{"__isSmartRef__":true,"id":1789},"source":"function reset() {\n this.terrain = null\n this.charactersStandingHere = this.cachedNeightbours = undefined\n this.submorphs.invoke(\"remove\")\n this.setDevStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":1790},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1789":{"this":{"__isSmartRef__":true,"id":1583}},"1790":{"timestamp":{"__isSmartRef__":true,"id":1791},"user":"tessi","tags":[]},"1791":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:34:06 GMT+0200 (CEST)"},"1792":{"varMapping":{"__isSmartRef__":true,"id":1793},"source":"function shallowCopy() {\n var copy = Morph.makeRectangle(this.bounds()),\n that = this\n Functions.own(this).each(function (ea) {\n copy[ea] = that[ea].asScriptOf(copy, ea)\n })\n \n // also shallow-copy partsBinMetaInfo \n if (this.partsBinMetaInfo) {\n copy.partsBinMetaInfo = this.partsBinMetaInfo\n }\n\n // Not needed, we're not using properties on tiles\n // Properties.own(this).each(function (ea) {\n // copy[ea] = that[ea]\n // })\n // ea.findAndSetUniqueName()\n return copy\n}","funcProperties":{"__isSmartRef__":true,"id":1794},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1793":{"this":{"__isSmartRef__":true,"id":1583}},"1794":{"timestamp":{"__isSmartRef__":true,"id":1795},"user":"timfelgentreff","tags":[]},"1795":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:17:04 GMT+0200 (CEST)"},"1796":{"varMapping":{"__isSmartRef__":true,"id":1797},"source":"function characters(newCharacters /* omit parameter if you want this to be a getter */) {\n if ( !this.charactersStandingHere || newCharacters ) {\n this.charactersStandingHere = newCharacters || []\n }\n return this.charactersStandingHere\n}","funcProperties":{"__isSmartRef__":true,"id":1798},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1797":{"this":{"__isSmartRef__":true,"id":1583}},"1798":{"timestamp":{"__isSmartRef__":true,"id":1799},"user":"tessi","tags":[]},"1799":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:31:13 GMT+0200 (CEST)"},"1800":{"varMapping":{"__isSmartRef__":true,"id":1801},"source":"function enterTile(character) {\n if (!this.characters().include(character)) {\n this.characters().push(character)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1802},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1801":{"this":{"__isSmartRef__":true,"id":1583}},"1802":{"timestamp":{"__isSmartRef__":true,"id":1803},"user":"tessi","tags":[]},"1803":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:25:25 GMT+0200 (CEST)"},"1804":{"varMapping":{"__isSmartRef__":true,"id":1805},"source":"function leaveTile(character) {\n if (this.characters().include(character)) {\n this.characters(this.characters().without(character))\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1806},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1805":{"this":{"__isSmartRef__":true,"id":1583}},"1806":{"timestamp":{"__isSmartRef__":true,"id":1807},"user":"tessi","tags":[]},"1807":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:28:36 GMT+0200 (CEST)"},"1808":{"varMapping":{"__isSmartRef__":true,"id":1809},"source":"function neighboursReachableFromHere() {\n var that = this;\n return this.neighbours().select(function (tile) {\n return that.neighboursInDirection(that.distanceTo(tile)).all(function (n) {\n return !n.isObstacle()\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1810},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1809":{"this":{"__isSmartRef__":true,"id":1583}},"1810":{"timestamp":{"__isSmartRef__":true,"id":1811},"user":"timfelgentreff","tags":[]},"1811":{"isSerializedDate":true,"string":"Thu May 03 2012 13:28:31 GMT+0200 (CEST)"},"1812":{"submorphs":[],"scripts":[],"id":"C397A345-D786-48DD-9F26-ABD4BE58F738","shape":{"__isSmartRef__":true,"id":1813},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1819},"showsHalos":false,"name":"Thing","partsBinMetaInfo":{"__isSmartRef__":true,"id":1820},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":1895},"eventHandler":{"__isSmartRef__":true,"id":1896},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","DF863BAB-9987-4611-BCD2-DE9FDCE7D3B5","768ED97D-1E05-415B-AB3F-B6495AC603A0","5A0ECA63-F6E2-4E35-B9A2-75DE2A4C4158","3B4EDC8A-0E99-4F45-A6D5-5CCE7E75BC88","1A900574-7D84-44F3-BB9D-1A1E26FDDB9B","383B3B54-4D0D-42E5-88C6-460045549029","EFC22A04-8B3C-48A8-9C5F-1EBC66DFD6D6","52D7E09F-EA1F-44D5-A893-F72A70D40429","CAC332B2-DA3A-4534-B3C7-E03D31DE9D2C","2CDD083E-3AB7-4BB9-B6D1-A70716226BDF","B4327E15-A3DA-44A6-89B0-71AFB39350AA","D2E0258B-443A-444C-8640-C595ECC95152","6C8F2B5B-D9E4-4742-B4A1-DA08C3B66E3A","34B4B715-9D86-4D1A-921B-5340CDC05F73","4CA32288-0E12-49F5-A485-634D7D327287","5941FCB6-8C08-405A-B2C2-D84C19F702E2","7BA243A0-B441-41E9-B4AE-A18EDB0F9A8A","C1A510A2-576D-49C6-89EA-56953C5D6FC1","372DAC3D-D2F5-47C2-8538-A2EEE9D3A073","6E3BFF0C-E4EB-4D35-959F-9C12F885012C","5D157E3A-5D4F-4C0A-888F-5FE24CBFC6E5","8C8C94D0-B291-47D8-8B8D-F606AF1A59B1","4794D8F3-DD25-4AFF-A687-079AB3EB7B71","324C5BEC-5664-49AD-AE50-4F3AD40CB933"],"partTests":{"__isSmartRef__":true,"id":1897},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":1902},"moved":true,"_ClipMode":"visible","tile":null,"thing":null,"prevScroll":[0,0],"occludedTiles":null,"owner":null,"_Rotation":0,"_Scale":1.0040100200350561,"pageSpecific":true,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1903},"__LivelyClassName__":"lively.morphic.Box"},"1813":{"position":{"__isSmartRef__":true,"id":1814},"_Extent":{"__isSmartRef__":true,"id":1815},"_BorderWidth":1.148,"_BorderColor":{"__isSmartRef__":true,"id":1816},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1817},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1818},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1814":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1815":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1816":{"r":0,"g":0,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1818":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1819":{"x":586.3012455810967,"y":115.21297052698975,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1820":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A thing that renders itself onto a tile and tells the occluded tiles about the obstacle","migrationLevel":4,"partName":"Thing","changes":[{"__isSmartRef__":true,"id":1821},{"__isSmartRef__":true,"id":1823},{"__isSmartRef__":true,"id":1825},{"__isSmartRef__":true,"id":1827},{"__isSmartRef__":true,"id":1829},{"__isSmartRef__":true,"id":1831},{"__isSmartRef__":true,"id":1833},{"__isSmartRef__":true,"id":1835},{"__isSmartRef__":true,"id":1837},{"__isSmartRef__":true,"id":1839},{"__isSmartRef__":true,"id":1841},{"__isSmartRef__":true,"id":1843},{"__isSmartRef__":true,"id":1845},{"__isSmartRef__":true,"id":1847},{"__isSmartRef__":true,"id":1849},{"__isSmartRef__":true,"id":1851},{"__isSmartRef__":true,"id":1853},{"__isSmartRef__":true,"id":1855},{"__isSmartRef__":true,"id":1857},{"__isSmartRef__":true,"id":1859},{"__isSmartRef__":true,"id":1861},{"__isSmartRef__":true,"id":1863},{"__isSmartRef__":true,"id":1865},{"__isSmartRef__":true,"id":1867},{"__isSmartRef__":true,"id":1869},{"__isSmartRef__":true,"id":1871},{"__isSmartRef__":true,"id":1873},{"__isSmartRef__":true,"id":1875},{"__isSmartRef__":true,"id":1877},{"__isSmartRef__":true,"id":1879},{"__isSmartRef__":true,"id":1881},{"__isSmartRef__":true,"id":1883},{"__isSmartRef__":true,"id":1885},{"__isSmartRef__":true,"id":1887},{"__isSmartRef__":true,"id":1889},{"__isSmartRef__":true,"id":1891},{"__isSmartRef__":true,"id":1893}],"revisionOnLoad":158808,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1821":{"date":{"__isSmartRef__":true,"id":1822},"author":"tessi","message":"normal border color is transparent","id":"1665FD61-C4FA-4C51-9616-9C5E1C8B9F80"},"1822":{"isSerializedDate":true,"string":"Thu May 03 2012 15:24:59 GMT+0200 (CEST)"},"1823":{"date":{"__isSmartRef__":true,"id":1824},"author":"timfelgentreff","message":"change become() so it accepts a ThingMorph as well as a name","id":"0039C1AA-215A-4BE0-AA97-F1C383BE908C"},"1824":{"isSerializedDate":true,"string":"Thu May 03 2012 13:49:59 GMT+0200 (CEST)"},"1825":{"date":{"__isSmartRef__":true,"id":1826},"author":"timfelgentreff","message":"fix deregister obstacle, function scope this error","id":"9107E550-ADD2-4504-90DA-7D389E5EE394"},"1826":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:27:22 GMT+0200 (CEST)"},"1827":{"date":{"__isSmartRef__":true,"id":1828},"author":"timfelgentreff","message":"no comment","id":"8B215513-36A1-4E9D-A85F-901CF829A749"},"1828":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:20:02 GMT+0200 (CEST)"},"1829":{"date":{"__isSmartRef__":true,"id":1830},"author":"timfelgentreff","message":"use the right index","id":"82122F19-AA93-4BE0-82A3-98068DCF0F25"},"1830":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:11:07 GMT+0200 (CEST)"},"1831":{"date":{"__isSmartRef__":true,"id":1832},"author":"timfelgentreff","message":"actually register things as obstacle for the whole rectangle, not only the other stuff","id":"E15C00E6-10CD-4BEE-A685-C852A7D2B0FA"},"1832":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:06:03 GMT+0200 (CEST)"},"1833":{"date":{"__isSmartRef__":true,"id":1834},"author":"timfelgentreff","message":"no comment","id":"4E20F671-CDDF-4A8C-B375-590965148158"},"1834":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:48:48 GMT+0200 (CEST)"},"1835":{"date":{"__isSmartRef__":true,"id":1836},"author":"timfelgentreff","message":"push the right tiles to occluded tiles","id":"4756DD2F-8511-47A5-BA08-D24CB2CDB071"},"1836":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:47:29 GMT+0200 (CEST)"},"1837":{"date":{"__isSmartRef__":true,"id":1838},"author":"timfelgentreff","message":"fix DNU","id":"CB97C29A-144D-4AA8-9763-C6AD0294C76D"},"1838":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:31:29 GMT+0200 (CEST)"},"1839":{"date":{"__isSmartRef__":true,"id":1840},"author":"timfelgentreff","message":"fix registering","id":"C3CC144E-61B2-4154-963B-F5812D40887C"},"1840":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:25:20 GMT+0200 (CEST)"},"1841":{"date":{"__isSmartRef__":true,"id":1842},"author":"timfelgentreff","message":"add support for registering and deregistering as obstacle","id":"6E027D14-54DC-4EEE-86D7-F76CD7A727B5"},"1842":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:16:57 GMT+0200 (CEST)"},"1843":{"date":{"__isSmartRef__":true,"id":1844},"author":"timfelgentreff","message":"initial publish","id":"4384AF65-BA4C-424D-A5EA-E68A6EEE9E6F"},"1844":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:39:23 GMT+0200 (CEST)"},"1845":{"date":{"__isSmartRef__":true,"id":1846},"author":"timfelgentreff","message":"a thing that renders itself onto a tile and tells the occluded tiles about the obstacle","id":"ADB36180-974D-4994-9149-6318E7F62D62"},"1846":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:29:15 GMT+0200 (CEST)"},"1847":{"date":{"__isSmartRef__":true,"id":1848},"author":"timfelgentreff","message":"","id":"712D65D3-A68A-47B9-AFDC-B20E826217DB"},"1848":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:00:26 GMT+0200 (CEST)"},"1849":{"date":{"__isSmartRef__":true,"id":1850},"author":"timfelgentreff","message":"","id":"DF45FC66-1C49-447D-914F-A905DA0AECB2"},"1850":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:47 GMT+0200 (CEST)"},"1851":{"date":{"__isSmartRef__":true,"id":1852},"author":"timfelgentreff","message":"","id":"6D9186F6-64FC-48E0-95AF-27E462A13E1D"},"1852":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:55:04 GMT+0200 (CEST)"},"1853":{"date":{"__isSmartRef__":true,"id":1854},"author":"timfelgentreff","message":"","id":"24121E2C-3B59-48EF-8026-290C8D296496"},"1854":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:02:53 GMT+0200 (CEST)"},"1855":{"date":{"__isSmartRef__":true,"id":1856},"author":"timfelgentreff","message":"","id":"F4CC9F23-A50B-4206-A549-A610CC9C69AC"},"1856":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:11:38 GMT+0200 (CEST)"},"1857":{"date":{"__isSmartRef__":true,"id":1858},"author":"timfelgentreff","message":"","id":"563A8831-9CE6-49D1-B87D-453B761FB751"},"1858":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:53 GMT+0200 (CEST)"},"1859":{"date":{"__isSmartRef__":true,"id":1860},"author":"timfelgentreff","message":"","id":"E1AA7A8A-D3C5-4263-9A1E-91C13F532ED6"},"1860":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:23:55 GMT+0200 (CEST)"},"1861":{"date":{"__isSmartRef__":true,"id":1862},"author":"timfelgentreff","message":"","id":"0672C6C8-D032-495B-B9EE-E41F194C86DE"},"1862":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:19:15 GMT+0200 (CEST)"},"1863":{"date":{"__isSmartRef__":true,"id":1864},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"1864":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1865":{"date":{"__isSmartRef__":true,"id":1866},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"1866":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1867":{"date":{"__isSmartRef__":true,"id":1868},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"1868":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1869":{"date":{"__isSmartRef__":true,"id":1870},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"1870":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1871":{"date":{"__isSmartRef__":true,"id":1872},"author":"timfelgentreff","message":"","id":"DE0AC226-458D-416E-A42C-BAA848650C4C"},"1872":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:28:14 GMT+0200 (CEST)"},"1873":{"date":{"__isSmartRef__":true,"id":1874},"author":"lauritz","message":"","id":"CFD35308-806E-4804-8706-15DA1CEC5743"},"1874":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:49:16 GMT+0200 (CEST)"},"1875":{"date":{"__isSmartRef__":true,"id":1876},"author":"timfelgentreff","message":"","id":"18365ED6-1BC8-43AD-ADC8-2B0C8005B784"},"1876":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:23:38 GMT+0200 (CEST)"},"1877":{"date":{"__isSmartRef__":true,"id":1878},"author":"timfelgentreff","message":"","id":"4978F7BB-7FF5-47C1-8A55-6CAB03479B28"},"1878":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:41:12 GMT+0200 (CEST)"},"1879":{"date":{"__isSmartRef__":true,"id":1880},"author":"timfelgentreff","message":"","id":"07EE540F-D786-49CC-8DD0-56F6B3AC6716"},"1880":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:43:41 GMT+0200 (CEST)"},"1881":{"date":{"__isSmartRef__":true,"id":1882},"author":"timfelgentreff","message":"","id":"B5D9BC0C-15F0-4AE7-884B-48515F6A030E"},"1882":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:08:19 GMT+0200 (CEST)"},"1883":{"date":{"__isSmartRef__":true,"id":1884},"author":"timfelgentreff","message":"","id":"F01F7BC6-E59F-4B63-8A3D-10C3AC3E34FD"},"1884":{"isSerializedDate":true,"string":"Fri Apr 20 2012 08:22:08 GMT+0200 (CEST)"},"1885":{"date":{"__isSmartRef__":true,"id":1886},"author":"timfelgentreff","message":"blue border","id":"BA7A047B-D7E3-4AB9-95E0-0AD19B254904"},"1886":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:59:59 GMT+0200 (CEST)"},"1887":{"date":{"__isSmartRef__":true,"id":1888},"author":"timfelgentreff","message":"setExtent before setPosition","id":"6FDDC46A-4F38-43E9-9258-5570855703AE"},"1888":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:01:01 GMT+0200 (CEST)"},"1889":{"date":{"__isSmartRef__":true,"id":1890},"author":"timfelgentreff","message":"no comment","id":"49C8495C-85F0-4B00-AB8B-0086DC167B81"},"1890":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:35:31 GMT+0200 (CEST)"},"1891":{"date":{"__isSmartRef__":true,"id":1892},"author":"tessi","message":"reset() sets devStyle; replace get() calls with game() and map()","id":"2AB88C79-A426-4144-9134-5E0717044086"},"1892":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:28:29 GMT+0200 (CEST)"},"1893":{"date":{"__isSmartRef__":true,"id":1894},"author":"tessi","message":"cannot set color to null","id":"C0274811-3BE8-44E9-8C87-99D1F426E9D7"},"1894":{"isSerializedDate":true,"string":"Thu May 03 2012 15:21:30 GMT+0200 (CEST)"},"1895":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1896":{"morph":{"__isSmartRef__":true,"id":1812},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1897":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1898}},"1898":{"test01IsMorph":{"__isSmartRef__":true,"id":1899}},"1899":{"varMapping":{"__isSmartRef__":true,"id":1900},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1901},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1900":{"this":{"__isSmartRef__":true,"id":1897}},"1901":{},"1902":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1903":{"setDevStyle":{"__isSmartRef__":true,"id":1904},"setNormalStyle":{"__isSmartRef__":true,"id":1908},"become":{"__isSmartRef__":true,"id":1912},"onMouseDown":{"__isSmartRef__":true,"id":1916},"toolbox":{"__isSmartRef__":true,"id":1924},"zIndex":{"__isSmartRef__":true,"id":1928},"becomeRandomThing":{"__isSmartRef__":true,"id":1932},"reset":{"__isSmartRef__":true,"id":1936},"registerAsObstacle":{"__isSmartRef__":true,"id":1940},"deregisterAsObstacle":{"__isSmartRef__":true,"id":1944},"tileSize":{"__isSmartRef__":true,"id":1948},"dropOn":{"__isSmartRef__":true,"id":1952},"map":{"__isSmartRef__":true,"id":1960},"game":{"__isSmartRef__":true,"id":1964}},"1904":{"varMapping":{"__isSmartRef__":true,"id":1905},"source":"function setDevStyle() {\n this.setExtent(this.tileSize())\n this.setFill(null)\n this.shape.setBorderColor(Color.blue)\n if (this.thing) {\n this.thing.shape.setBorderColor(Color.red)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1906},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1905":{"this":{"__isSmartRef__":true,"id":1812}},"1906":{"timestamp":{"__isSmartRef__":true,"id":1907},"user":"timfelgentreff","tags":[]},"1907":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:34:18 GMT+0200 (CEST)"},"1908":{"varMapping":{"__isSmartRef__":true,"id":1909},"source":"function setNormalStyle() {\n this.setDevStyle()\n this.shape.setBorderColor(new Color.rgba(0,0,0,0))\n if (this.thing) {\n this.thing.shape.setBorderColor(new Color.rgba(0,0,0,0))\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1910},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1909":{"this":{"__isSmartRef__":true,"id":1812}},"1910":{"timestamp":{"__isSmartRef__":true,"id":1911},"user":"tessi","tags":[]},"1911":{"isSerializedDate":true,"string":"Thu May 03 2012 15:24:43 GMT+0200 (CEST)"},"1912":{"varMapping":{"__isSmartRef__":true,"id":1913},"source":"function become(thingName) {\n var thing\n if (typeof thingName === \"string\") {\n thing = this.toolbox(thingName + \"Thing\")\n } else {\n thing = thingName\n }\n if (thing) {\n if (this.thing) {\n this.thing.remove();\n }\n this.thing = thing;\n thing.ignoreEvents()\n thing.setExtent(thing.shape.getExtent())\n thing.setPosition(this.getExtent().subPt(this.thing.getExtent()))\n this.addMorph(thing)\n this.registerAsObstacle()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1914},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1913":{"this":{"__isSmartRef__":true,"id":1812}},"1914":{"timestamp":{"__isSmartRef__":true,"id":1915},"user":"timfelgentreff","tags":[]},"1915":{"isSerializedDate":true,"string":"Thu May 03 2012 13:48:50 GMT+0200 (CEST)"},"1916":{"varMapping":{"__isSmartRef__":true,"id":1917},"source":"function onMouseDown(evt) {\n if (this.tile && evt.isLeftMouseButtonDown() && this.game().selectedUnit) {\n this.game().selectedUnit.walkTo(this.tile)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1922},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1917":{"this":{"__isSmartRef__":true,"id":1812},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1918}},"1918":{"$super":{"__isSmartRef__":true,"id":1919}},"1919":{"varMapping":{"__isSmartRef__":true,"id":1920},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1921},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1920":{"obj":{"__isSmartRef__":true,"id":1812},"name":"onMouseDown"},"1921":{},"1922":{"timestamp":{"__isSmartRef__":true,"id":1923},"user":"tessi","tags":[]},"1923":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:27:13 GMT+0200 (CEST)"},"1924":{"varMapping":{"__isSmartRef__":true,"id":1925},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":1926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1925":{"this":{"__isSmartRef__":true,"id":1812}},"1926":{"timestamp":{"__isSmartRef__":true,"id":1927},"user":"tessi","tags":[]},"1927":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:27:30 GMT+0200 (CEST)"},"1928":{"varMapping":{"__isSmartRef__":true,"id":1929},"source":"function zIndex(idx) {\n if (idx) {\n return this.renderContext().morphNode.style.zIndex = idx\n } else {\n return this.renderContext().morphNode.style.zIndex\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1930},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1929":{"this":{"__isSmartRef__":true,"id":1812}},"1930":{"timestamp":{"__isSmartRef__":true,"id":1931},"user":"timfelgentreff","tags":[]},"1931":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:28:09 GMT+0200 (CEST)"},"1932":{"varMapping":{"__isSmartRef__":true,"id":1933},"source":"function becomeRandomThing() {\n var thingNames = this.game().partNamesEndingWith(\"Thing\")\n this.become(thingNames[Math.round(Math.random() * (thingNames.length - 1))])\n}","funcProperties":{"__isSmartRef__":true,"id":1934},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1933":{"this":{"__isSmartRef__":true,"id":1812}},"1934":{"timestamp":{"__isSmartRef__":true,"id":1935},"user":"tessi","tags":[]},"1935":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:26:54 GMT+0200 (CEST)"},"1936":{"varMapping":{"__isSmartRef__":true,"id":1937},"source":"function reset() {\n if (this.thing) {\n this.thing.remove()\n this.thing = null\n }\n this.deregisterAsObstacle()\n this.tile = null\n this.setDevStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":1938},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1937":{"this":{"__isSmartRef__":true,"id":1812}},"1938":{"timestamp":{"__isSmartRef__":true,"id":1939},"user":"tessi","tags":[]},"1939":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:28:03 GMT+0200 (CEST)"},"1940":{"varMapping":{"__isSmartRef__":true,"id":1941},"source":"function registerAsObstacle() {\n this.deregisterAsObstacle()\n\n if (this.tile && this.thing) {\n this.occludedTiles = []\n\n // things are anchored at bottom-left, so neighbours direction is negative\n var neighboursBlockVertical = Math.ceil(this.thing.getExtent().y / this.tileSize().y),\n neighboursBlockHorizontal = Math.ceil(this.thing.getExtent().x / this.tileSize().x),\n neighbour\n\n this.occludedTiles.push(this.tile)\n this.tile.addObstacle(this)\n for (var i = 0; i < neighboursBlockHorizontal; i++) {\n for (var j = 0; j < neighboursBlockVertical; j++) {\n neighbour = this.tile.neighbourAt(pt(-i,-j))\n if (neighbour && !this.occludedTiles.member(neighbour)) {\n neighbour.addObstacle(this)\n this.occludedTiles.push(neighbour)\n }\n }\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1942},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1941":{"this":{"__isSmartRef__":true,"id":1812}},"1942":{"timestamp":{"__isSmartRef__":true,"id":1943},"user":"timfelgentreff","tags":[]},"1943":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:18:39 GMT+0200 (CEST)"},"1944":{"varMapping":{"__isSmartRef__":true,"id":1945},"source":"function deregisterAsObstacle() {\n var that = this\n if (this.occludedTiles) {\n this.occludedTiles.each(function (tile) {\n tile.removeObstacle(that)\n })\n this.occludedTiles = null\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1946},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1945":{"this":{"__isSmartRef__":true,"id":1812}},"1946":{"timestamp":{"__isSmartRef__":true,"id":1947},"user":"timfelgentreff","tags":[]},"1947":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:25:37 GMT+0200 (CEST)"},"1948":{"varMapping":{"__isSmartRef__":true,"id":1949},"source":"function tileSize() {\n if (this.tile) {\n return this.tile.tileSize()\n } else {\n return this.toolbox(\"Tile\").tileSize()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1950},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1949":{"this":{"__isSmartRef__":true,"id":1812}},"1950":{"timestamp":{"__isSmartRef__":true,"id":1951},"user":"timfelgentreff","tags":[]},"1951":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:01:00 GMT+0200 (CEST)"},"1952":{"varMapping":{"__isSmartRef__":true,"id":1953},"source":"function dropOn(morph) {\n $super(morph);\n this.deregisterAsObstacle()\n if (morph.isTile) {\n this.tile = morph\n this.setPosition(pt(0,0))\n this.registerAsObstacle()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1958},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1953":{"this":{"__isSmartRef__":true,"id":1812},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1954}},"1954":{"$super":{"__isSmartRef__":true,"id":1955}},"1955":{"varMapping":{"__isSmartRef__":true,"id":1956},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1957},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1956":{"obj":{"__isSmartRef__":true,"id":1812},"name":"dropOn"},"1957":{},"1958":{"timestamp":{"__isSmartRef__":true,"id":1959},"user":"timfelgentreff","tags":[]},"1959":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:13:07 GMT+0200 (CEST)"},"1960":{"varMapping":{"__isSmartRef__":true,"id":1961},"source":"function map() {\n return this.owner.map()\n}","funcProperties":{"__isSmartRef__":true,"id":1962},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1961":{"this":{"__isSmartRef__":true,"id":1812}},"1962":{"timestamp":{"__isSmartRef__":true,"id":1963},"user":"tessi","tags":[]},"1963":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:26:34 GMT+0200 (CEST)"},"1964":{"varMapping":{"__isSmartRef__":true,"id":1965},"source":"function game() {\n return this.owner.game()\n}","funcProperties":{"__isSmartRef__":true,"id":1966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1965":{"this":{"__isSmartRef__":true,"id":1812}},"1966":{"timestamp":{"__isSmartRef__":true,"id":1967},"user":"tessi","tags":[]},"1967":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:26:45 GMT+0200 (CEST)"},"1968":{"textString":"Freedom Of Speech (contd.)","textEmphasis":[{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1969},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"1969":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"27px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1970":{"textString":"","textEmphasis":[null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"1971":{"textString":"","textEmphasis":[null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"1972":{"background":{"__isSmartRef__":true,"id":17},"pageMorphs":[{"__isSmartRef__":true,"id":1973},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":2001},{"__isSmartRef__":true,"id":2015},{"__isSmartRef__":true,"id":2029},{"__isSmartRef__":true,"id":2043}],"titleContents":{"__isSmartRef__":true,"id":3053},"title1Contents":{"__isSmartRef__":true,"id":3055},"title2Contents":{"__isSmartRef__":true,"id":3056},"__SourceModuleName__":"Global.users.TedKaehler.DBJr","__LivelyClassName__":"PageData"},"1973":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1974},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558","A51DAF99-E0D4-4209-9464-B3570484BBAA","17F7056B-CBE8-4F32-AFAA-2EF254EC79EA"],"id":"D212932C-C4CF-40B9-B828-BDA0D48A9587","renderContextTable":{"__isSmartRef__":true,"id":1980},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1981}],"eventHandler":{"__isSmartRef__":true,"id":1983},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":1984},"_MaxTextWidth":455,"_MinTextWidth":455,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title5","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":1985},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1986},"charsReplaced":"Hierarchy in parts?","lastFindLoc":19,"previousSelection":[13,18],"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1974":{"_Position":{"__isSmartRef__":true,"id":1975},"renderContextTable":{"__isSmartRef__":true,"id":1976},"_Extent":{"__isSmartRef__":true,"id":1977},"_Padding":{"__isSmartRef__":true,"id":1978},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1979},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1975":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1976":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1977":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1978":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1979":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1980":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1981":{"style":{"__isSmartRef__":true,"id":1982},"chunkOwner":{"__isSmartRef__":true,"id":1973},"storedString":"Scene graph","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1982":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1983":{"morph":{"__isSmartRef__":true,"id":1973},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1984":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1985":{"x":6.999999999999943,"y":322,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1986":{"x":309.3012455810968,"y":-10.78702947301025,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1987":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1988},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558"],"id":"A51DAF99-E0D4-4209-9464-B3570484BBAA","renderContextTable":{"__isSmartRef__":true,"id":1994},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1995}],"eventHandler":{"__isSmartRef__":true,"id":1997},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":1998},"_MaxTextWidth":740,"_MinTextWidth":740,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title1","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":1999},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2000},"charsReplaced":".","lastFindLoc":19,"owner":null,"pageSpecific":true,"_Rotation":0,"_Scale":1,"priorSelectionRange":[43,43],"__LivelyClassName__":"lively.morphic.Text"},"1988":{"_Position":{"__isSmartRef__":true,"id":1989},"renderContextTable":{"__isSmartRef__":true,"id":1990},"_Extent":{"__isSmartRef__":true,"id":1991},"_Padding":{"__isSmartRef__":true,"id":1992},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1993},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1989":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1990":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1991":{"x":748,"y":49,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1992":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1993":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1994":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1995":{"style":{"__isSmartRef__":true,"id":1996},"chunkOwner":{"__isSmartRef__":true,"id":1987},"storedString":"Code comprehension: Navigating and reading.","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1996":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1997":{"morph":{"__isSmartRef__":true,"id":1987},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1998":{"x":748,"y":49,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1999":{"x":5,"y":110,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2000":{"x":307.3012455810965,"y":-15.787029473010307,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2001":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2002},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558","A51DAF99-E0D4-4209-9464-B3570484BBAA"],"id":"17F7056B-CBE8-4F32-AFAA-2EF254EC79EA","renderContextTable":{"__isSmartRef__":true,"id":2008},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2009}],"eventHandler":{"__isSmartRef__":true,"id":2011},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":2012},"_MaxTextWidth":455,"_MinTextWidth":455,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title2","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":2013},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2014},"charsReplaced":"h","lastFindLoc":2,"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2002":{"_Position":{"__isSmartRef__":true,"id":2003},"renderContextTable":{"__isSmartRef__":true,"id":2004},"_Extent":{"__isSmartRef__":true,"id":2005},"_Padding":{"__isSmartRef__":true,"id":2006},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2007},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2003":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2004":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2005":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2006":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2007":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2008":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2009":{"style":{"__isSmartRef__":true,"id":2010},"chunkOwner":{"__isSmartRef__":true,"id":2001},"storedString":"Hierarchy in parts?","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2010":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2011":{"morph":{"__isSmartRef__":true,"id":2001},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2012":{"x":463,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2013":{"x":9.999999999999943,"y":256,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2014":{"x":308.3012455810968,"y":-12.78702947301025,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2015":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2016},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558","A51DAF99-E0D4-4209-9464-B3570484BBAA","17F7056B-CBE8-4F32-AFAA-2EF254EC79EA"],"id":"3C79DE7A-D21F-4478-BE09-D305A867EABC","renderContextTable":{"__isSmartRef__":true,"id":2022},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2023}],"eventHandler":{"__isSmartRef__":true,"id":2025},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":2026},"_MaxTextWidth":726,"_MinTextWidth":726,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title3","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":2027},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2028},"charsReplaced":"u","lastFindLoc":2,"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1,"priorSelectionRange":[1,1],"__LivelyClassName__":"lively.morphic.Text"},"2016":{"_Position":{"__isSmartRef__":true,"id":2017},"renderContextTable":{"__isSmartRef__":true,"id":2018},"_Extent":{"__isSmartRef__":true,"id":2019},"_Padding":{"__isSmartRef__":true,"id":2020},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2021},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2017":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2018":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2019":{"x":734,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2020":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2021":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2022":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2023":{"style":{"__isSmartRef__":true,"id":2024},"chunkOwner":{"__isSmartRef__":true,"id":2015},"storedString":"Usually in hierarchies modules, classes, protocols, methods","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2024":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2025":{"morph":{"__isSmartRef__":true,"id":2015},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2026":{"x":734,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2027":{"x":8.999999999999858,"y":165.99999999999991,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2028":{"x":494.30124558109685,"y":-17.787029473010165,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2029":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2030},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558","A51DAF99-E0D4-4209-9464-B3570484BBAA","17F7056B-CBE8-4F32-AFAA-2EF254EC79EA"],"id":"4124AD7F-3BCA-437D-9E6F-89623F3C5B5A","renderContextTable":{"__isSmartRef__":true,"id":2036},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2037}],"eventHandler":{"__isSmartRef__":true,"id":2039},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":2040},"_MaxTextWidth":667,"_MinTextWidth":667,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title4","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":2041},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2042},"charsReplaced":"inline functions, ","lastFindLoc":70,"previousSelection":[34,34],"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2030":{"_Position":{"__isSmartRef__":true,"id":2031},"renderContextTable":{"__isSmartRef__":true,"id":2032},"_Extent":{"__isSmartRef__":true,"id":2033},"_Padding":{"__isSmartRef__":true,"id":2034},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2035},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2031":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2032":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2033":{"x":675,"y":39,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2034":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2035":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2036":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2037":{"style":{"__isSmartRef__":true,"id":2038},"chunkOwner":{"__isSmartRef__":true,"id":2029},"storedString":"inspecting objects along the graph, editing code inline","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"2038":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2039":{"morph":{"__isSmartRef__":true,"id":2029},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2040":{"x":675,"y":39,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2041":{"x":8.999999999999943,"y":398,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2042":{"x":395.3012455810968,"y":-14.78702947301025,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2043":{"submorphs":[{"__isSmartRef__":true,"id":2044}],"scripts":[],"id":"B4F749C2-3F2F-4F61-889D-EAD67BCEE322","shape":{"__isSmartRef__":true,"id":2711},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2718},"showsHalos":false,"name":"Game3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2719},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2784},"eventHandler":{"__isSmartRef__":true,"id":2785},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","87B0769B-986A-4D79-BFAE-B54B3C3F0A58","82255771-D93C-4822-98C2-F41964E8DFC4","0F151E1D-2629-4812-B0FB-2AECBA9CA1D5","6B508EC1-502F-4C86-A280-0E55B6B85C09","48577010-5D2A-42AE-959C-11FD0279618E","99804F82-5962-4550-9690-13D89A180816","59862115-B91D-4AFA-B874-B320452EBF58","0539328F-133A-483F-9226-0CEA693718C5","6DD73F39-2A75-4E75-8B95-E6EDE3454548","E26D672F-486A-48EB-9201-E4884357E3B6","5445E7D4-1B6D-4FBB-BA51-DE7EF376C8F5","C436F09D-654F-4E5D-A150-9A8DC296FA42","2CFB4A8D-B758-449D-AAC9-48E75F74617C","25328C21-5292-447C-AF74-5EC4B82321F9","41450BDB-9A2A-4BDC-B411-0DA7E4341A97","9ADCFA0A-B333-4903-9AC2-DC9D2F20D326","D646064C-CA17-4E4A-8CB7-F6C0D542826A","4F0EF1FE-A2F9-4E31-9995-B19AC4AA3613","CDF8DA59-10A7-4F52-9510-81E34055C017","BC86B772-B44E-458F-9A2C-FB64C134C6C5","7E34DFB7-32BC-4DFE-998A-7BB4C0A30B19","0A78678A-8CAF-451B-ACA8-F59A8D5D93C2","C53E1CC8-A319-4392-A4C6-B0B83C02A306"],"partTests":{"__isSmartRef__":true,"id":2786},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2791},"prevScroll":[0,0],"distanceToDragEvent":{"__isSmartRef__":true,"id":2792},"moved":true,"selectedUnit":{"__isSmartRef__":true,"id":2045},"_ClipMode":"visible","partNamesCache":{"__isSmartRef__":true,"id":2793},"partItemCache":{"__isSmartRef__":true,"id":2794},"pageSpecific":true,"owner":null,"_Rotation":0,"_Scale":1.0060210561262526,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3024},"__LivelyClassName__":"lively.morphic.Box"},"2044":{"submorphs":[{"__isSmartRef__":true,"id":2045}],"scripts":[],"id":"D11E6D41-48E9-4F42-8833-5E2AA4D64DC2","shape":{"__isSmartRef__":true,"id":2628},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2635},"showsHalos":false,"name":"Map","partsBinMetaInfo":{"__isSmartRef__":true,"id":2636},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2645},"eventHandler":{"__isSmartRef__":true,"id":2646},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","924C8A83-6557-4E74-952B-903AB05CAAF8","4A9910C2-4BDE-486A-BE6F-FF5C177FE77D","CD2E818C-2B72-4AC9-8E07-7D35B07824D0","AE10EFDE-3AAF-489C-B492-C8B7D5E30C4E","87F87663-B231-47F6-87F3-C582C22A84FB","17A91188-1B56-4DBF-B40E-177C46C8FB28","B76A6F3A-C9AF-4DA1-95A5-CB579C75A46E","05FD59E2-BBEF-4ED5-B3E6-1ED4FB5D5CB0","1DD9994B-B38D-4C95-BDEC-81D2F0803C09","F6BD454A-88B2-4DD0-A7FB-A049D7BAEE29","64220847-9A17-416D-AA60-0335E5665DB6","536C6267-3484-4395-B32D-D6A0EE1A91F6","B1D2F9B1-F93A-4BBB-942B-1CE7B0461227","5E5B1FC7-27F7-4488-92C1-B5E2596F300D","CECB4E3C-9CE4-4216-9A4E-E328BC293161","9DB4A3FE-7E0D-4A59-9B38-D7E6264D8D2F","68297A91-2352-4935-9CB4-BD7B470D0CA5","7F7ADE39-EF84-4D24-8376-CD78F232D552","2CD361BB-5E67-4FBB-9052-C4CF199B0555","49205067-479A-4B01-A35A-330AA8C06923","7B38EDF6-B05C-4C29-A4D6-C9F785CD04FE","FC9B86BC-DF35-487C-8020-A7DAF237AABE","70259643-FC01-4E44-8EE5-1F39F6E2A896"],"partTests":{"__isSmartRef__":true,"id":2647},"owner":{"__isSmartRef__":true,"id":2043},"distanceToDragEvent":{"__isSmartRef__":true,"id":2652},"priorExtent":{"__isSmartRef__":true,"id":2653},"prevScroll":[0,0],"tiles":null,"_ClipMode":"visible","isMap":true,"isBeingDragged":false,"_Rotation":0,"_Scale":1.0000000000000002,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2654},"__LivelyClassName__":"lively.morphic.Box"},"2045":{"submorphs":[{"__isSmartRef__":true,"id":2046},{"__isSmartRef__":true,"id":2103},{"__isSmartRef__":true,"id":2179}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2194},"derivationIds":[null,"6F36A371-1744-4CD4-BE79-F1ADEE98C7FD","C276F06B-32C3-4CCC-91B1-E7174A2A259E","03772C8C-A733-445D-B2BD-98A56DC071E1","90559E29-634C-4AA7-95D5-95F41427A66A","A011B9EB-9775-4B49-9700-0112BA842A67","6ABA4596-3FDF-446D-90AC-457EB1A14E6D","37D45E25-EC49-490C-B7AF-2AA8637345C9","F1F261F4-844F-4387-9B82-A514F4ADD6E3","EB68FEE6-DA39-420B-974D-2EE5C2CA2A18","3D072A4D-9400-4A54-BD63-CB5598CDE004","9721DA76-AC3B-42DB-A4D7-D74E745580FB","E2C6D407-E20E-4F03-AF59-2AEA2178788C","66D0B260-7B35-4ED3-8A4D-38DC14804693","31F62051-B940-4E15-8421-A67CCF17B56E","8BCBAD35-B9E2-4D4C-A3E4-727B538C8FA6","6204B6A3-DE80-432B-B5AF-4146EC4C83B4","FE1B4FC2-8366-4FA3-8A4B-C2C52F07B040","4B0E268B-BFF5-427D-943A-24AC43194E8D","231B4156-267A-4B1C-BCDD-123E5F43CF33","AA007CCA-BF96-43FD-9482-3422FEB7033A","12667D1F-645B-470E-A503-C8896E5A25AD"],"id":"1A1322CC-98FA-4C31-A502-47BEF2CB0BF1","renderContextTable":{"__isSmartRef__":true,"id":2200},"eventHandler":{"__isSmartRef__":true,"id":2201},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2202},"partsBinMetaInfo":{"__isSmartRef__":true,"id":2203},"priorExtent":{"__isSmartRef__":true,"id":2420},"character":{"__isSmartRef__":true,"id":2179},"showsHalos":false,"lastSpeedTimestamp":1336043967089,"direction":{"__isSmartRef__":true,"id":2421},"name":"Character2","__SourceModuleName__":"Global.lively.morphic.Core","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"deathAnimation":{"__isSmartRef__":true,"id":2103},"lifeBar":{"__isSmartRef__":true,"id":2046},"#startLetters":"","pageSpecific":true,"distanceToDragEvent":{"__isSmartRef__":true,"id":2422},"owner":{"__isSmartRef__":true,"id":2044},"_Rotation":0,"_Scale":1.0060210561262537,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2423},"__LivelyClassName__":"lively.morphic.Box"},"2046":{"submorphs":[],"scripts":[],"id":"C3A74762-D951-4508-A36D-74A8DCEF9027","shape":{"__isSmartRef__":true,"id":2047},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2054},"showsHalos":false,"name":"LifeBar","partsBinMetaInfo":{"__isSmartRef__":true,"id":2055},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2070},"eventHandler":{"__isSmartRef__":true,"id":2071},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","2DB0D0C7-DC87-4CFA-83D0-A3C69D36DFF5","D5A167D3-1B45-47C6-9589-88D524CBB671","B99E0377-C191-4217-A6A5-9C8B280EBFC7","30BAB7C0-114B-4F37-878B-09C11E3D5549","FB770FA2-2303-4F51-B162-092CD8F21AA0","612FF3E2-A0BA-4252-92A6-28D30F489F85","78D369CF-E59B-4EB9-8D69-151A5EC7EBC2","E425FE9E-F1B0-438A-A245-16A29D9D258B","803FB59F-23F3-4A2F-9E13-DC3FB4D6FBC2","16E73362-4726-4C37-8412-BB7F76E007B7","8F9461A6-FB84-4875-BE34-EDF06F5CF22B","E7D9DE9E-946E-47E7-B684-63DCCE65106B","CEE4682F-B1A8-4163-8208-67DAD6993B52","2F757BF8-3266-4EC9-A57C-3767C91400A5","7BAD503D-99D7-4FCD-AC39-5B9D1E341AA5"],"partTests":{"__isSmartRef__":true,"id":2072},"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":2045},"priorExtent":{"__isSmartRef__":true,"id":2077},"isBeingDragged":false,"character":{"__isSmartRef__":true,"id":2045},"#startLetters":"","_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2078},"__LivelyClassName__":"lively.morphic.Box"},"2047":{"position":{"__isSmartRef__":true,"id":2048},"_Extent":{"__isSmartRef__":true,"id":2049},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2050},"_Fill":{"__isSmartRef__":true,"id":2051},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2052},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2053},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2048":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2049":{"x":48,"y":8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2050":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2051":{"r":0.59375,"g":1,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2052":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2053":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2054":{"x":0,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2055":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A life bar","migrationLevel":4,"partName":"LifeBar","changes":[{"__isSmartRef__":true,"id":2056},{"__isSmartRef__":true,"id":2058},{"__isSmartRef__":true,"id":2060},{"__isSmartRef__":true,"id":2062},{"__isSmartRef__":true,"id":2064},{"__isSmartRef__":true,"id":2066},{"__isSmartRef__":true,"id":2068}],"revisionOnLoad":159331,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2056":{"date":{"__isSmartRef__":true,"id":2057},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2057":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2058":{"date":{"__isSmartRef__":true,"id":2059},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2059":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2060":{"date":{"__isSmartRef__":true,"id":2061},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2061":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2062":{"date":{"__isSmartRef__":true,"id":2063},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2063":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2064":{"date":{"__isSmartRef__":true,"id":2065},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"2065":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2066":{"date":{"__isSmartRef__":true,"id":2067},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"2067":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2068":{"date":{"__isSmartRef__":true,"id":2069},"author":"timfelgentreff","message":"no comment","id":"655F8C6A-8060-4BEC-9535-09682C8F0066"},"2069":{"isSerializedDate":true,"string":"Fri May 04 2012 16:52:35 GMT+0200 (CEST)"},"2070":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2071":{"morph":{"__isSmartRef__":true,"id":2046},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2072":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2073}},"2073":{"test01IsMorph":{"__isSmartRef__":true,"id":2074}},"2074":{"varMapping":{"__isSmartRef__":true,"id":2075},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2076},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2075":{"this":{"__isSmartRef__":true,"id":2072}},"2076":{},"2077":{"x":48,"y":8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2078":{"setColorForWidth":{"__isSmartRef__":true,"id":2079},"reset":{"__isSmartRef__":true,"id":2083},"hit":{"__isSmartRef__":true,"id":2087},"extent":{"__isSmartRef__":true,"id":2091},"isDead":{"__isSmartRef__":true,"id":2095},"lifeLoss":{"__isSmartRef__":true,"id":2099},"heal":{"__isSmartRef__":true,"id":2083}},"2079":{"varMapping":{"__isSmartRef__":true,"id":2080},"source":"function setColorForWidth() {\n this.setFill(Color.hsb((this.getExtent().x - this.lifeLoss() / 2) / this.extent().x * 100, 1, 1))\n}","funcProperties":{"__isSmartRef__":true,"id":2081},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2080":{"this":{"__isSmartRef__":true,"id":2046}},"2081":{"timestamp":{"__isSmartRef__":true,"id":2082},"user":"timfelgentreff","tags":[]},"2082":{"isSerializedDate":true,"string":"Fri May 04 2012 16:51:59 GMT+0200 (CEST)"},"2083":{"varMapping":{"__isSmartRef__":true,"id":2084},"source":"function reset() {\n this.setExtent(this.extent())\n this.setColorForWidth()\n this.setPosition(pt(0, -13))\n}","funcProperties":{"__isSmartRef__":true,"id":2085},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2084":{"this":{"__isSmartRef__":true,"id":2046}},"2085":{"timestamp":{"__isSmartRef__":true,"id":2086},"user":"timfelgentreff","tags":[]},"2086":{"isSerializedDate":true,"string":"Fri May 04 2012 17:19:31 GMT+0200 (CEST)"},"2087":{"varMapping":{"__isSmartRef__":true,"id":2088},"source":"function hit() {\n this.setExtent(this.getExtent().subPt(pt(this.lifeLoss(), 0)))\n this.setColorForWidth()\n if (this.isDead()) {\n this.character.become(null)\n this.character.deathAnimation.start()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2089},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2088":{"this":{"__isSmartRef__":true,"id":2046}},"2089":{"timestamp":{"__isSmartRef__":true,"id":2090},"user":"timfelgentreff","tags":[]},"2090":{"isSerializedDate":true,"string":"Fri May 04 2012 17:12:01 GMT+0200 (CEST)"},"2091":{"varMapping":{"__isSmartRef__":true,"id":2092},"source":"function extent() {\n return pt(48,8)\n}","funcProperties":{"__isSmartRef__":true,"id":2093},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2092":{"this":{"__isSmartRef__":true,"id":2046}},"2093":{"timestamp":{"__isSmartRef__":true,"id":2094},"user":"timfelgentreff","tags":[]},"2094":{"isSerializedDate":true,"string":"Fri May 04 2012 16:49:30 GMT+0200 (CEST)"},"2095":{"varMapping":{"__isSmartRef__":true,"id":2096},"source":"function isDead() {\n return this.getExtent().x < this.lifeLoss()\n}","funcProperties":{"__isSmartRef__":true,"id":2097},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2096":{"this":{"__isSmartRef__":true,"id":2046}},"2097":{"timestamp":{"__isSmartRef__":true,"id":2098},"user":"timfelgentreff","tags":[]},"2098":{"isSerializedDate":true,"string":"Fri May 04 2012 16:50:02 GMT+0200 (CEST)"},"2099":{"varMapping":{"__isSmartRef__":true,"id":2100},"source":"function lifeLoss() {\n return this.extent().x / 3 - 1\n}","funcProperties":{"__isSmartRef__":true,"id":2101},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2100":{"this":{"__isSmartRef__":true,"id":2046}},"2101":{"timestamp":{"__isSmartRef__":true,"id":2102},"user":"timfelgentreff","tags":[]},"2102":{"isSerializedDate":true,"string":"Fri May 04 2012 16:50:22 GMT+0200 (CEST)"},"2103":{"submorphs":[{"__isSmartRef__":true,"id":2104}],"scripts":[],"id":"B9F6E2A0-CABB-47FB-A29B-24D533DB175F","shape":{"__isSmartRef__":true,"id":2134},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2141},"showsHalos":false,"name":"DeathAnimation","partsBinMetaInfo":{"__isSmartRef__":true,"id":2142},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2155},"eventHandler":{"__isSmartRef__":true,"id":2156},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","BFF48C2B-8378-49C8-A6EC-5205A2A46D92","0322384E-8399-4532-BD09-846510E4CEB2","D94E58BE-3730-4E93-886D-57D5F7FEDE66","8BA6D9A0-76BF-45F9-8257-B44CE32DC0E8","627E352B-D135-4086-86B2-C7271180C415","1E2E609F-0D3C-43B7-A41A-DEF99F217F62","C106586D-69FF-492C-86C0-9105E43A395A","14B978ED-D71B-4400-8BD0-92F5EB55D3FB","1F548A2A-9935-42D6-A43F-57A789A17989","7AB0E0C5-F3F5-44B8-84A4-FE58514B9CBB","0B24C9CE-0E0A-420E-BABB-1EECAF2A75F7","8BCF21E1-00C1-47E1-8C9D-C6CD6F611A30","94B8E0BB-A727-4D1F-9FCD-57500677A0E3","2958DE92-9D4D-4746-8F9D-CF1A393891BB","ED28CEF2-90CD-483B-8084-740AE14292C1"],"partTests":{"__isSmartRef__":true,"id":2157},"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":2045},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2162},"#startLetters":"image","image":{"__isSmartRef__":true,"id":2104},"baseUrl":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/death_","counter":1,"character":{"__isSmartRef__":true,"id":2045},"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2163},"__LivelyClassName__":"lively.morphic.Box"},"2104":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2105},"derivationIds":[null,"238E91DE-656E-43B5-8E3D-904CDA28A277","C00A3C0E-CF81-421A-BF06-DE6D4804AC6B","4382B5D0-4A0C-4EF1-8EA4-8A5F8AE07FED","C63F1CBE-8F12-4DFF-8B87-724D9AFDE572","4C4D5150-2BCE-4514-A48A-3787AC0E3CCF","8D704A99-14C3-4137-9E77-31DEBF2AA651","40D79729-F063-4AC0-8BA8-E1A794FC48A8","F658FB14-4DBB-4056-9F28-DD002EF336C6","19619216-9747-4EA9-A444-FFBBB4310049","40016546-5DEA-40CF-82DD-70C1F06413D4","0D8C6CD9-1951-4437-8DB1-3C658360D9B3","4A305064-C6ED-4B9B-AE1D-D1C8B588E724","438C7CD7-16E4-4D9E-A015-6D204ADE7635","92787D53-FD63-40D2-B832-464328EA031D","2A03C966-9450-4DC5-9084-A4966D9718CA","27A384D8-C394-47A1-BAE3-C121747B4EAF","D48DE2C7-4C3D-48D4-B639-D97975FE3A81","1EF27416-D2A4-4F72-A536-D94226AE04E2","D504024B-30A0-4034-B03E-EE97D7D12A3A","3A45C172-7E0E-4B7C-A6E9-166F38285851","F0D9E21E-FF68-4860-BA3D-72B2824D20DC"],"id":"F71272D8-894A-4971-85DA-8EE2199002DC","renderContextTable":{"__isSmartRef__":true,"id":2110},"eventHandler":{"__isSmartRef__":true,"id":2111},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2112},"name":"DeathAnimationImage","priorExtent":{"__isSmartRef__":true,"id":2113},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2114},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":2103},"#startLetters":"","eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Visible":false,"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2129},"__LivelyClassName__":"lively.morphic.Image"},"2105":{"_Position":{"__isSmartRef__":true,"id":2106},"renderContextTable":{"__isSmartRef__":true,"id":2107},"_Extent":{"__isSmartRef__":true,"id":2108},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2109},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/death_1.png","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2106":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2107":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2108":{"x":72,"y":72,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2109":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2110":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2111":{"morph":{"__isSmartRef__":true,"id":2104},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2112":{"x":-12,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2113":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2114":{"partName":"CoderCharacter","requiredModules":[],"partsSpaceName":"PartsBin/FreedomOfSpeech/","comment":"An animated character with a Apple Macbook Air, hacking away and looking suspicious. He loves Latté and hacks Rails...he's a real hipster, living in Mission, SF.","changes":[{"__isSmartRef__":true,"id":2115},{"__isSmartRef__":true,"id":2117},{"__isSmartRef__":true,"id":2119},{"__isSmartRef__":true,"id":2121},{"__isSmartRef__":true,"id":2123},{"__isSmartRef__":true,"id":2125},{"__isSmartRef__":true,"id":2127}],"migrationLevel":4,"__SourceModuleName__":"Global.lively.PartsBin","revisionOnLoad":156414,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2115":{"date":{"__isSmartRef__":true,"id":2116},"author":"lauritz","message":"extended his horizon minimally","id":"50EA136D-373D-4B07-9743-671C5D5FD786"},"2116":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:36:11 GMT+0200 (CEST)"},"2117":{"date":{"__isSmartRef__":true,"id":2118},"author":"tessi","message":"typo","id":"C3C7C127-AA94-4893-ACE9-14FE290D4CE1"},"2118":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:33:53 GMT+0200 (CEST)"},"2119":{"date":{"__isSmartRef__":true,"id":2120},"author":"tessi","message":"","id":"F17F7ABD-5B30-4809-9E08-0A11240FCE2B"},"2120":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:32:18 GMT+0200 (CEST)"},"2121":{"date":{"__isSmartRef__":true,"id":2122},"author":"tessi","message":"","id":"AC6C3961-CFFB-4C4A-8769-970359274337"},"2122":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:01:43 GMT+0200 (CEST)"},"2123":{"date":{"__isSmartRef__":true,"id":2124},"author":"tessi","message":"some soliloquize sentences for the awesome coder!","id":"892B001E-626A-4EE7-A217-E88C4E1F6088"},"2124":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:52:20 GMT+0200 (CEST)"},"2125":{"date":{"__isSmartRef__":true,"id":2126},"author":"lauritz","message":"no comment","id":"56F017FB-5032-49A5-A6C0-A856F2AB5B55"},"2126":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:23:49 GMT+0200 (CEST)"},"2127":{"date":{"__isSmartRef__":true,"id":2128},"author":"lauritz","message":"no comment","id":"52EB067D-BE9C-4E05-9599-5B3D0D663B9E"},"2128":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:30:38 GMT+0200 (CEST)"},"2129":{"soliloquize":{"__isSmartRef__":true,"id":2130}},"2130":{"varMapping":{"__isSmartRef__":true,"id":2131},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"Wonder what the new iPony will be like\",\n \"Can i have some Mate pl0x?\",\n \"*click* *clack* *clack*\",\n \"Shouldn't this run faster?\",\n \"Wonder why people use Windows...\",\n \"Lets start a new programming language!\",\n \"Awesome!\",\n \"git rebase to the rescue!\",\n \"Array(16).join(\\\"wat\\\" - 1) + \\\" Batman!\\\"\",\n \"aww. screwed up the pointers\\n.. again!\",\n \"i need horn-rimmed glasses\",\n \"i'm no hipster.\",\n \"can i have a lattai\",\n \"everything you can do i can do better\",\n \"i can do everything better than you\",\n \"i studied at HPI\",\n \"oop is not for everyone\",\n \"it's spring after the java nuclear winter\",\n \"Is the company based in Mission?\",\n \"Who's that Alan Kay dude?\",\n \"I [github] code\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":2132},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2131":{"this":{"__isSmartRef__":true,"id":2104}},"2132":{"timestamp":{"__isSmartRef__":true,"id":2133},"user":"lauritz","tags":[]},"2133":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:35:45 GMT+0200 (CEST)"},"2134":{"position":{"__isSmartRef__":true,"id":2135},"_Extent":{"__isSmartRef__":true,"id":2136},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2137},"_Fill":{"__isSmartRef__":true,"id":2138},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2139},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2140},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2135":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2136":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2137":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2138":{"r":0,"g":0,"b":0,"a":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2139":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2140":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2141":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2142":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":2143},{"__isSmartRef__":true,"id":2145},{"__isSmartRef__":true,"id":2147},{"__isSmartRef__":true,"id":2149},{"__isSmartRef__":true,"id":2151},{"__isSmartRef__":true,"id":2153}],"revisionOnLoad":158846,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2143":{"date":{"__isSmartRef__":true,"id":2144},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2144":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2145":{"date":{"__isSmartRef__":true,"id":2146},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2146":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2147":{"date":{"__isSmartRef__":true,"id":2148},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2148":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2149":{"date":{"__isSmartRef__":true,"id":2150},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2150":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2151":{"date":{"__isSmartRef__":true,"id":2152},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"2152":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2153":{"date":{"__isSmartRef__":true,"id":2154},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"2154":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2155":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2156":{"morph":{"__isSmartRef__":true,"id":2103},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2157":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2158}},"2158":{"test01IsMorph":{"__isSmartRef__":true,"id":2159}},"2159":{"varMapping":{"__isSmartRef__":true,"id":2160},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2161},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2160":{"this":{"__isSmartRef__":true,"id":2157}},"2161":{},"2162":{"x":100,"y":100,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2163":{"die":{"__isSmartRef__":true,"id":2164},"reset":{"__isSmartRef__":true,"id":2167},"nextImage":{"__isSmartRef__":true,"id":2171},"start":{"__isSmartRef__":true,"id":2175}},"2164":{"varMapping":{"__isSmartRef__":true,"id":2165},"source":"function die() {\n this.nextImage()\n if (this.counter === 1) {\n this.character.animate(false);\n this.character.remove()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2166},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2165":{"this":{"__isSmartRef__":true,"id":2103}},"2166":{},"2167":{"varMapping":{"__isSmartRef__":true,"id":2168},"source":"function reset() {\n this.stopStepping()\n this.baseUrl = \"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/death_\"\n this.counter = 0\n this.image.setPosition(pt(-12,-12))\n this.image.disableEvents()\n this.nextImage()\n this.setPosition(pt(0,0))\n this.setBorderWidth(0)\n this.image.setVisible(false)\n}","funcProperties":{"__isSmartRef__":true,"id":2169},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2168":{"this":{"__isSmartRef__":true,"id":2103}},"2169":{"timestamp":{"__isSmartRef__":true,"id":2170},"user":"timfelgentreff","tags":[]},"2170":{"isSerializedDate":true,"string":"Fri May 04 2012 17:24:17 GMT+0200 (CEST)"},"2171":{"varMapping":{"__isSmartRef__":true,"id":2172},"source":"function nextImage() {\n this.counter = this.counter % 6 + 1\n this.image.setImageURL(this.baseUrl + this.counter + \".png\")\n}","funcProperties":{"__isSmartRef__":true,"id":2173},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2172":{"this":{"__isSmartRef__":true,"id":2103}},"2173":{"timestamp":{"__isSmartRef__":true,"id":2174},"user":"timfelgentreff","tags":[]},"2174":{"isSerializedDate":true,"string":"Fri May 04 2012 17:09:29 GMT+0200 (CEST)"},"2175":{"varMapping":{"__isSmartRef__":true,"id":2176},"source":"function start() {\n this.image.setVisible(true)\n this.startStepping(150, \"die\")\n}","funcProperties":{"__isSmartRef__":true,"id":2177},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2176":{"this":{"__isSmartRef__":true,"id":2103}},"2177":{"timestamp":{"__isSmartRef__":true,"id":2178},"user":"timfelgentreff","tags":[]},"2178":{"isSerializedDate":true,"string":"Fri May 04 2012 17:25:07 GMT+0200 (CEST)"},"2179":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2180},"derivationIds":[null,"238E91DE-656E-43B5-8E3D-904CDA28A277","C00A3C0E-CF81-421A-BF06-DE6D4804AC6B","4382B5D0-4A0C-4EF1-8EA4-8A5F8AE07FED","C63F1CBE-8F12-4DFF-8B87-724D9AFDE572","4C4D5150-2BCE-4514-A48A-3787AC0E3CCF","8D704A99-14C3-4137-9E77-31DEBF2AA651"],"id":"E96F0766-47A0-4A0A-BD49-2543297B1766","renderContextTable":{"__isSmartRef__":true,"id":2185},"eventHandler":{"__isSmartRef__":true,"id":2186},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2187},"name":"CoderCharacter1","priorExtent":{"__isSmartRef__":true,"id":2188},"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1389},"__SourceModuleName__":"Global.lively.morphic.Widgets","moved":true,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":2045},"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1.002003004005006,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2189},"__LivelyClassName__":"lively.morphic.Image"},"2180":{"_Position":{"__isSmartRef__":true,"id":2181},"renderContextTable":{"__isSmartRef__":true,"id":2182},"_Extent":{"__isSmartRef__":true,"id":2183},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2184},"_ImageURL":"http://lively-kernel.org/repository/webwerkstatt/projects/WebDev2012/Telautim/media/coder.gif","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Image"},"2181":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2182":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"2183":{"x":72,"y":72,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2184":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2185":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2186":{"morph":{"__isSmartRef__":true,"id":2179},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2187":{"x":-12,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2188":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2189":{"soliloquize":{"__isSmartRef__":true,"id":2190}},"2190":{"varMapping":{"__isSmartRef__":true,"id":2191},"source":"function soliloquize() {\n this.soloSentences = this.soloSentences || [\n \"Wonder what the new iPony will be like\",\n \"Can i have some Mate pl0x?\",\n \"*click* *clack* *clack*\",\n \"Shouldn't this run faster?\",\n \"Wonder why people use Windows...\",\n \"Lets start a new programming language!\",\n \"Awesome!\",\n \"git rebase to the rescue!\",\n \"Array(16).join(\\\"wat\\\" - 1) + \\\" Batman!\\\"\",\n \"aww. screwed up the pointers\\n.. again!\",\n \"i need horn-rimmed glasses\",\n \"i'm no hipster.\",\n \"can i have a lattai\",\n \"everything you can do i can do better\",\n \"i can do everything better than you\",\n \"i studied at HPI\",\n \"oop is not for everyone\",\n \"it's spring after the java nuclear winter\",\n \"Is the company based in Mission?\",\n \"Who's that Alan Kay dude?\",\n \"I [github] code\"\n ]\n return this.soloSentences[Math.floor(Math.random() * this.soloSentences.length)]\n}","funcProperties":{"__isSmartRef__":true,"id":2192},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2191":{"this":{"__isSmartRef__":true,"id":2179}},"2192":{"timestamp":{"__isSmartRef__":true,"id":2193},"user":"lauritz","tags":[]},"2193":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:35:45 GMT+0200 (CEST)"},"2194":{"_Position":{"__isSmartRef__":true,"id":2195},"renderContextTable":{"__isSmartRef__":true,"id":2196},"_Extent":{"__isSmartRef__":true,"id":2197},"_Padding":{"__isSmartRef__":true,"id":2198},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2199},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2195":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2196":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2197":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2198":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2199":{"r":0.8,"g":0.8,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2201":{"morph":{"__isSmartRef__":true,"id":2045},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2202":{"x":-4.917198356835684,"y":15.823206172982452,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2203":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A character is a moving, talking unit/player/movable/NPC/villager","migrationLevel":4,"partName":"Character","changes":[{"__isSmartRef__":true,"id":2204},{"__isSmartRef__":true,"id":2206},{"__isSmartRef__":true,"id":2208},{"__isSmartRef__":true,"id":2210},{"__isSmartRef__":true,"id":2212},{"__isSmartRef__":true,"id":2214},{"__isSmartRef__":true,"id":2216},{"__isSmartRef__":true,"id":2218},{"__isSmartRef__":true,"id":2220},{"__isSmartRef__":true,"id":2222},{"__isSmartRef__":true,"id":2224},{"__isSmartRef__":true,"id":2226},{"__isSmartRef__":true,"id":2228},{"__isSmartRef__":true,"id":2230},{"__isSmartRef__":true,"id":2232},{"__isSmartRef__":true,"id":2234},{"__isSmartRef__":true,"id":2236},{"__isSmartRef__":true,"id":2238},{"__isSmartRef__":true,"id":2240},{"__isSmartRef__":true,"id":2242},{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2246},{"__isSmartRef__":true,"id":2248},{"__isSmartRef__":true,"id":2250},{"__isSmartRef__":true,"id":2252},{"__isSmartRef__":true,"id":2254},{"__isSmartRef__":true,"id":2256},{"__isSmartRef__":true,"id":2258},{"__isSmartRef__":true,"id":2260},{"__isSmartRef__":true,"id":2262},{"__isSmartRef__":true,"id":2264},{"__isSmartRef__":true,"id":2266},{"__isSmartRef__":true,"id":2268},{"__isSmartRef__":true,"id":2270},{"__isSmartRef__":true,"id":2272},{"__isSmartRef__":true,"id":2274},{"__isSmartRef__":true,"id":2276},{"__isSmartRef__":true,"id":2278},{"__isSmartRef__":true,"id":2280},{"__isSmartRef__":true,"id":2282},{"__isSmartRef__":true,"id":2284},{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2288},{"__isSmartRef__":true,"id":2290},{"__isSmartRef__":true,"id":2292},{"__isSmartRef__":true,"id":2294},{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2298},{"__isSmartRef__":true,"id":2300},{"__isSmartRef__":true,"id":2302},{"__isSmartRef__":true,"id":2304},{"__isSmartRef__":true,"id":2306},{"__isSmartRef__":true,"id":2308},{"__isSmartRef__":true,"id":2310},{"__isSmartRef__":true,"id":2312},{"__isSmartRef__":true,"id":2314},{"__isSmartRef__":true,"id":2316},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2320},{"__isSmartRef__":true,"id":2322},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2326},{"__isSmartRef__":true,"id":2328},{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2332},{"__isSmartRef__":true,"id":2334},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2338},{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2352},{"__isSmartRef__":true,"id":2354},{"__isSmartRef__":true,"id":2356},{"__isSmartRef__":true,"id":2358},{"__isSmartRef__":true,"id":2360},{"__isSmartRef__":true,"id":2362},{"__isSmartRef__":true,"id":2364},{"__isSmartRef__":true,"id":2366},{"__isSmartRef__":true,"id":2368},{"__isSmartRef__":true,"id":2370},{"__isSmartRef__":true,"id":2372},{"__isSmartRef__":true,"id":2374},{"__isSmartRef__":true,"id":2376},{"__isSmartRef__":true,"id":2378},{"__isSmartRef__":true,"id":2380},{"__isSmartRef__":true,"id":2382},{"__isSmartRef__":true,"id":2384},{"__isSmartRef__":true,"id":2386},{"__isSmartRef__":true,"id":2388},{"__isSmartRef__":true,"id":2390},{"__isSmartRef__":true,"id":2392},{"__isSmartRef__":true,"id":2394},{"__isSmartRef__":true,"id":2396},{"__isSmartRef__":true,"id":2398},{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2406},{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2412},{"__isSmartRef__":true,"id":2414},{"__isSmartRef__":true,"id":2416},{"__isSmartRef__":true,"id":2418}],"requiredModules":["projects.WebDev2012.Telautim.js.chatbot"],"revisionOnLoad":159897,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2204":{"date":{"__isSmartRef__":true,"id":2205},"author":"lauritz","message":"fixed shuffling of answer possibilities in debates.","id":"1B6E19E3-2737-4598-A8E3-FEAAFC8BFF48"},"2205":{"isSerializedDate":true,"string":"Mon May 07 2012 19:20:25 GMT+0200 (CEST)"},"2206":{"date":{"__isSmartRef__":true,"id":2207},"author":"lauritz","message":"no comment","id":"AF6C3CC5-9EAB-4F84-A91F-F90E8EF1571C"},"2207":{"isSerializedDate":true,"string":"Mon May 07 2012 10:58:34 GMT+0200 (CEST)"},"2208":{"date":{"__isSmartRef__":true,"id":2209},"author":"timfelgentreff","message":"remove character for death animation","id":"679D5E2B-8559-414E-B9BE-3E7840EF084F"},"2209":{"isSerializedDate":true,"string":"Sat May 05 2012 13:06:37 GMT+0200 (CEST)"},"2210":{"date":{"__isSmartRef__":true,"id":2211},"author":"timfelgentreff","message":"little harder npc fights","id":"F28D1CA1-D307-4F2B-BF97-119E2A107B70"},"2211":{"isSerializedDate":true,"string":"Sat May 05 2012 13:04:37 GMT+0200 (CEST)"},"2212":{"date":{"__isSmartRef__":true,"id":2213},"author":"timfelgentreff","message":"make fights easier","id":"C707BCA9-92E4-43E6-95D4-22B840F322AE"},"2213":{"isSerializedDate":true,"string":"Sat May 05 2012 12:59:25 GMT+0200 (CEST)"},"2214":{"date":{"__isSmartRef__":true,"id":2215},"author":"timfelgentreff","message":"talk timeout in fights needs to be closer to text bubble timeout","id":"139B596D-D4BF-4A12-B177-BC7D3AA516D1"},"2215":{"isSerializedDate":true,"string":"Sat May 05 2012 12:58:15 GMT+0200 (CEST)"},"2216":{"date":{"__isSmartRef__":true,"id":2217},"author":"timfelgentreff","message":"remove menu after choosing","id":"98432B46-2F70-48EF-B357-56F419789F63"},"2217":{"isSerializedDate":true,"string":"Sat May 05 2012 12:54:26 GMT+0200 (CEST)"},"2218":{"date":{"__isSmartRef__":true,"id":2219},"author":"timfelgentreff","message":"add fighting, isDead and healing","id":"49162D76-8BAB-4488-9D81-6C5F3F9E9A7B"},"2219":{"isSerializedDate":true,"string":"Sat May 05 2012 12:38:51 GMT+0200 (CEST)"},"2220":{"date":{"__isSmartRef__":true,"id":2221},"author":"timfelgentreff","message":"support directions for the player animations","id":"69DE1485-AECF-45C1-9777-18ED9ADE260C"},"2221":{"isSerializedDate":true,"string":"Fri May 04 2012 17:37:43 GMT+0200 (CEST)"},"2222":{"date":{"__isSmartRef__":true,"id":2223},"author":"tessi","message":" normal border color is transparent","id":"F921DA1B-4626-4B18-953B-5E402B28F855"},"2223":{"isSerializedDate":true,"string":"Thu May 03 2012 15:26:05 GMT+0200 (CEST)"},"2224":{"date":{"__isSmartRef__":true,"id":2225},"author":"tessi","message":"have a chatbot","id":"358609CE-869C-4C32-8159-077252DCA5AF"},"2225":{"isSerializedDate":true,"string":"Thu May 03 2012 15:10:55 GMT+0200 (CEST)"},"2226":{"date":{"__isSmartRef__":true,"id":2227},"author":"tessi","message":"require module chatbot","id":"014ABA59-3301-4F2C-9D20-05859045AB5F"},"2227":{"isSerializedDate":true,"string":"Thu May 03 2012 15:00:31 GMT+0200 (CEST)"},"2228":{"date":{"__isSmartRef__":true,"id":2229},"author":"timfelgentreff","message":"implement walking for A*","id":"0F3AA4B2-39C6-4CBA-A410-72E9D6DD310A"},"2229":{"isSerializedDate":true,"string":"Thu May 03 2012 12:38:15 GMT+0200 (CEST)"},"2230":{"date":{"__isSmartRef__":true,"id":2231},"author":"lauritz","message":"no comment","id":"882374DC-58F6-413A-A909-04B4B9FC0213"},"2231":{"isSerializedDate":true,"string":"Wed May 02 2012 17:43:13 GMT+0200 (CEST)"},"2232":{"date":{"__isSmartRef__":true,"id":2233},"author":"lauritz","message":"yellow border color in dev mode, distinguishes character and tile","id":"CD0BE784-3A0A-4F31-BD29-A7B23BB4D110"},"2233":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:57:02 GMT+0200 (CEST)"},"2234":{"date":{"__isSmartRef__":true,"id":2235},"author":"tessi","message":"","id":"2AB48789-9884-4B49-BE6D-9F6B05F91FC1"},"2235":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:32:08 GMT+0200 (CEST)"},"2236":{"date":{"__isSmartRef__":true,"id":2237},"author":"tessi","message":"","id":"2756AB2C-8345-4A1A-9D5E-2A837C5BCF19"},"2237":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:27:05 GMT+0200 (CEST)"},"2238":{"date":{"__isSmartRef__":true,"id":2239},"author":"tessi","message":"fix setTimeout bug","id":"6A244DDE-DA87-4360-BE58-3D50E455AD3D"},"2239":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:23:14 GMT+0200 (CEST)"},"2240":{"date":{"__isSmartRef__":true,"id":2241},"author":"timfelgentreff","message":"no comment","id":"06241D99-F4AF-4997-BEF5-A05CAB5516FA"},"2241":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:54:14 GMT+0200 (CEST)"},"2242":{"date":{"__isSmartRef__":true,"id":2243},"author":"tessi","message":"isBusy = false when starting a conversation failed","id":"B91EF496-BC58-49B4-AA5D-B0296829A331"},"2243":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:38:18 GMT+0200 (CEST)"},"2244":{"date":{"__isSmartRef__":true,"id":2245},"author":"tessi","message":"have a default-goodbye in answer() and proxy answer-call to character-type if possible","id":"E7051C47-72C5-4F41-A7EE-5D843B84CD5C"},"2245":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:33:56 GMT+0200 (CEST)"},"2246":{"date":{"__isSmartRef__":true,"id":2247},"author":"tessi","message":"conversation","id":"92D475C5-8AFA-4704-B31A-E0323A2F80CA"},"2247":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:29:27 GMT+0200 (CEST)"},"2248":{"date":{"__isSmartRef__":true,"id":2249},"author":"tessi","message":"typo","id":"651358CA-816D-45A4-A6D4-EDDE6445D105"},"2249":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:30:15 GMT+0200 (CEST)"},"2250":{"date":{"__isSmartRef__":true,"id":2251},"author":"tessi","message":"do not take a callback anymore for walkUntilReached","id":"5E146087-30CB-4C83-9B6F-0805908CFD24"},"2251":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:26:11 GMT+0200 (CEST)"},"2252":{"date":{"__isSmartRef__":true,"id":2253},"author":"tessi","message":"character now leaves and enters a tile when walking","id":"86E09CBB-9697-4065-B4D7-38130EA26F03"},"2253":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:04 GMT+0200 (CEST)"},"2254":{"date":{"__isSmartRef__":true,"id":2255},"author":"lauritz","message":"added shadow copy to characters as well","id":"D0B45A60-90FD-405B-8410-02E39C2766FB"},"2255":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:26:12 GMT+0200 (CEST)"},"2256":{"date":{"__isSmartRef__":true,"id":2257},"author":"tessi","message":"do not setup when comitting a character","id":"998DCFDD-7C21-486F-8873-EB500F5D828C"},"2257":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:40:44 GMT+0200 (CEST)"},"2258":{"date":{"__isSmartRef__":true,"id":2259},"author":"tessi","message":"reset isBusy flag when resetting","id":"1C10FA19-01A5-4A0F-9660-E714888E1632"},"2259":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:16:55 GMT+0200 (CEST)"},"2260":{"date":{"__isSmartRef__":true,"id":2261},"author":"tessi","message":"only do something every 3 seconds","id":"380054EE-6F1F-4DCC-BBE1-0A3F3C041652"},"2261":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:49:26 GMT+0200 (CEST)"},"2262":{"date":{"__isSmartRef__":true,"id":2263},"author":"tessi","message":"remove textBubble on reset","id":"F1B5D5ED-7465-4842-8AE8-0D2D5EFEC89D"},"2263":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:31:17 GMT+0200 (CEST)"},"2264":{"date":{"__isSmartRef__":true,"id":2265},"author":"tessi","message":"did a reset","id":"D90F8A53-5943-4780-A68C-03A9795959BD"},"2265":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:28:31 GMT+0200 (CEST)"},"2266":{"date":{"__isSmartRef__":true,"id":2267},"author":"tessi","message":"do not soliloquize too often","id":"C7DF35C3-3829-4869-973A-BF8329278BDD"},"2267":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:31:17 GMT+0200 (CEST)"},"2268":{"date":{"__isSmartRef__":true,"id":2269},"author":"tessi","message":"add animation loop","id":"05FA5AFA-66B9-4E5E-A2AE-D0F798FE2F8C"},"2269":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:22:56 GMT+0200 (CEST)"},"2270":{"date":{"__isSmartRef__":true,"id":2271},"author":"tessi","message":"a character may not soliloquize (talk to himself)","id":"094BB96A-4E2B-4839-A378-B59C9CECF2B4"},"2271":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:36:08 GMT+0200 (CEST)"},"2272":{"date":{"__isSmartRef__":true,"id":2273},"author":"tessi","message":"do a copy() when getting the text bubble","id":"F94DDE8C-9992-4552-82AF-40B62EC980C7"},"2273":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:25:58 GMT+0200 (CEST)"},"2274":{"date":{"__isSmartRef__":true,"id":2275},"author":"tessi","message":"Added functionality to say something - this.say(\"Foo!\")","id":"D3310A2C-9375-4910-8AD0-1624086A18C5"},"2275":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:21:54 GMT+0200 (CEST)"},"2276":{"date":{"__isSmartRef__":true,"id":2277},"author":"tessi","message":"cached character names list in becomeRandomCharacter","id":"F24125F0-9BEE-4CB9-8919-4184B4237A23"},"2277":{"isSerializedDate":true,"string":"Sat Apr 21 2012 12:06:32 GMT+0200 (CEST)"},"2278":{"date":{"__isSmartRef__":true,"id":2279},"author":"tessi","message":"Do not throw error on left click if the character is not within a game","id":"8B76A606-75E7-44F9-81B3-4A7D32710930"},"2279":{"isSerializedDate":true,"string":"Sat Apr 21 2012 11:53:06 GMT+0200 (CEST)"},"2280":{"date":{"__isSmartRef__":true,"id":2281},"author":"timfelgentreff","message":"","id":"F897DF97-32A2-4CE7-9A35-53212D4A26E3"},"2281":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:03:29 GMT+0200 (CEST)"},"2282":{"date":{"__isSmartRef__":true,"id":2283},"author":"timfelgentreff","message":"","id":"A38CB8F1-BDF4-452A-A4D3-860ADFB0C56B"},"2283":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:03:05 GMT+0200 (CEST)"},"2284":{"date":{"__isSmartRef__":true,"id":2285},"author":"timfelgentreff","message":"","id":"7EF9C9F0-6D1A-4EEC-A4C7-E8413604B1F8"},"2285":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:20:32 GMT+0200 (CEST)"},"2286":{"date":{"__isSmartRef__":true,"id":2287},"author":"timfelgentreff","message":"","id":"48990527-46C3-4754-B62F-86A06C3683E4"},"2287":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:15:33 GMT+0200 (CEST)"},"2288":{"date":{"__isSmartRef__":true,"id":2289},"author":"timfelgentreff","message":"","id":"A801296C-B767-4752-9C39-B91FC2CB09D1"},"2289":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:14:30 GMT+0200 (CEST)"},"2290":{"date":{"__isSmartRef__":true,"id":2291},"author":"timfelgentreff","message":"","id":"110ED1B9-D63C-4832-A17C-48410A99EBE8"},"2291":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:06:44 GMT+0200 (CEST)"},"2292":{"date":{"__isSmartRef__":true,"id":2293},"author":"timfelgentreff","message":"","id":"FB4CEBF9-0379-4033-A173-5297EFC0B5BE"},"2293":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:44:05 GMT+0200 (CEST)"},"2294":{"date":{"__isSmartRef__":true,"id":2295},"author":"timfelgentreff","message":"","id":"268C27C2-3DAB-4D17-AB4F-8319341CBE51"},"2295":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:14:35 GMT+0200 (CEST)"},"2296":{"date":{"__isSmartRef__":true,"id":2297},"author":"timfelgentreff","message":"","id":"EA0606B9-830C-4424-9950-55893DCE4622"},"2297":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:03:33 GMT+0200 (CEST)"},"2298":{"date":{"__isSmartRef__":true,"id":2299},"author":"timfelgentreff","message":"","id":"77F93C94-EAD5-4F89-AA8A-E4102AAEC3CB"},"2299":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:23:21 GMT+0200 (CEST)"},"2300":{"date":{"__isSmartRef__":true,"id":2301},"author":"timfelgentreff","message":"","id":"4F98DE4B-29D4-46EF-8F3F-277038AE57A2"},"2301":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:03:58 GMT+0200 (CEST)"},"2302":{"date":{"__isSmartRef__":true,"id":2303},"author":"timfelgentreff","message":"","id":"B5F2B437-806A-447F-B407-7C5FFCE479B0"},"2303":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:01:02 GMT+0200 (CEST)"},"2304":{"date":{"__isSmartRef__":true,"id":2305},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2305":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2306":{"date":{"__isSmartRef__":true,"id":2307},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2307":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2308":{"date":{"__isSmartRef__":true,"id":2309},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2309":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2310":{"date":{"__isSmartRef__":true,"id":2311},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2311":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2312":{"date":{"__isSmartRef__":true,"id":2313},"author":"timfelgentreff","message":"","id":"6B60055B-55B1-4E2A-AD9C-FA5408E28AB7"},"2313":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:29:52 GMT+0200 (CEST)"},"2314":{"date":{"__isSmartRef__":true,"id":2315},"author":"timfelgentreff","message":"","id":"85BC7627-55A6-4E30-B13F-1227C9196849"},"2315":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:17:51 GMT+0200 (CEST)"},"2316":{"date":{"__isSmartRef__":true,"id":2317},"author":"timfelgentreff","message":"","id":"0FED5A50-603F-474D-BAB3-3D252B7C0D12"},"2317":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:24:02 GMT+0200 (CEST)"},"2318":{"date":{"__isSmartRef__":true,"id":2319},"author":"timfelgentreff","message":"","id":"158C6E00-18B6-4CB2-9E5F-D99927550506"},"2319":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:11:41 GMT+0200 (CEST)"},"2320":{"date":{"__isSmartRef__":true,"id":2321},"author":"timfelgentreff","message":"","id":"D5B99567-984F-4ED8-86EF-7314F0876EF1"},"2321":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:20:46 GMT+0200 (CEST)"},"2322":{"date":{"__isSmartRef__":true,"id":2323},"author":"timfelgentreff","message":"","id":"74ECE854-1AF0-4527-8FAD-52DA991B5F48"},"2323":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:28:31 GMT+0200 (CEST)"},"2324":{"date":{"__isSmartRef__":true,"id":2325},"author":"timfelgentreff","message":"","id":"F0A0187B-50D8-410C-BA09-0AE944E5BAC2"},"2325":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:29:41 GMT+0200 (CEST)"},"2326":{"date":{"__isSmartRef__":true,"id":2327},"author":"timfelgentreff","message":"","id":"84662911-A76F-443A-A285-71B3ECEEF099"},"2327":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:37:03 GMT+0200 (CEST)"},"2328":{"date":{"__isSmartRef__":true,"id":2329},"author":"timfelgentreff","message":"","id":"5193293E-D9DE-406D-AD6A-589A904409FE"},"2329":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:54:23 GMT+0200 (CEST)"},"2330":{"date":{"__isSmartRef__":true,"id":2331},"author":"timfelgentreff","message":"","id":"42D19C5A-8D17-4352-B10F-D69925A338CF"},"2331":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:07:22 GMT+0200 (CEST)"},"2332":{"date":{"__isSmartRef__":true,"id":2333},"author":"timfelgentreff","message":"","id":"7A79A18C-B093-44EA-8522-7A3D2013F7F9"},"2333":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:12:47 GMT+0200 (CEST)"},"2334":{"date":{"__isSmartRef__":true,"id":2335},"author":"timfelgentreff","message":"","id":"BB97EFD5-248F-4B83-A177-F68CC9FE7744"},"2335":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:10:09 GMT+0200 (CEST)"},"2336":{"date":{"__isSmartRef__":true,"id":2337},"author":"timfelgentreff","message":"","id":"29A66B5D-C073-40D0-B445-4B92C0315243"},"2337":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:11:14 GMT+0200 (CEST)"},"2338":{"date":{"__isSmartRef__":true,"id":2339},"author":"timfelgentreff","message":"","id":"45A004C9-FD27-4FDD-8910-03240CEDBB33"},"2339":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:13:43 GMT+0200 (CEST)"},"2340":{"date":{"__isSmartRef__":true,"id":2341},"author":"timfelgentreff","message":"","id":"4D440D8C-20BF-4088-A05C-48ADE0376E9C"},"2341":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:33:42 GMT+0200 (CEST)"},"2342":{"date":{"__isSmartRef__":true,"id":2343},"author":"timfelgentreff","message":"","id":"F496AFC6-959F-4EC9-AED3-0CACA9686C50"},"2343":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:50:45 GMT+0200 (CEST)"},"2344":{"date":{"__isSmartRef__":true,"id":2345},"author":"timfelgentreff","message":"game loop implemented","id":"5F56A7B0-C894-4B53-99EA-23CA74E07649"},"2345":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:19:13 GMT+0200 (CEST)"},"2346":{"date":{"__isSmartRef__":true,"id":2347},"author":"timfelgentreff","message":"","id":"8B2931F8-644C-441D-8ED0-1055AC1A8466"},"2347":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:09:54 GMT+0200 (CEST)"},"2348":{"date":{"__isSmartRef__":true,"id":2349},"author":"timfelgentreff","message":"use convenience method to get all the character names from the Game","id":"64A0DAD1-6DCA-4A5E-A1C4-1245B5142904"},"2349":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:25:05 GMT+0200 (CEST)"},"2350":{"date":{"__isSmartRef__":true,"id":2351},"author":"tessi","message":"do not talk if aString is undefined or null","id":"6CC7D989-E7E7-455A-9548-6E11E062868C"},"2351":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:42:15 GMT+0200 (CEST)"},"2352":{"date":{"__isSmartRef__":true,"id":2353},"author":"tessi","message":"fixed bug: error when aString and textBubble was both undefined","id":"B7C5702A-5A72-4B4E-8495-6C7091FB90E7"},"2353":{"isSerializedDate":true,"string":"Mon Apr 23 2012 16:08:46 GMT+0200 (CEST)"},"2354":{"date":{"__isSmartRef__":true,"id":2355},"author":"tessi","message":"reset() sets devStyle; replace get() calls with map() and game()","id":"632B5695-D5F1-4549-A4C4-57118B5CC18C"},"2355":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:23:43 GMT+0200 (CEST)"},"2356":{"date":{"__isSmartRef__":true,"id":2357},"author":"timfelgentreff","message":"keep reference to character image, and use that to find the current tile, to match player expectations","id":"E636EC78-9EF7-426B-A6C7-958C35EB5025"},"2357":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:08:44 GMT+0200 (CEST)"},"2358":{"date":{"__isSmartRef__":true,"id":2359},"author":"timfelgentreff","message":"keep reference to character image, and use that to find the current tile, to match player expectations","id":"FA63AB65-E0D8-4640-8A97-8658CB5CC784"},"2359":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:09:04 GMT+0200 (CEST)"},"2360":{"date":{"__isSmartRef__":true,"id":2361},"author":"tessi","message":"fix currentTile() calculation","id":"5DFDC67F-C2B3-446A-B98F-9D783D86AE67"},"2361":{"isSerializedDate":true,"string":"Wed Apr 25 2012 15:20:10 GMT+0200 (CEST)"},"2362":{"date":{"__isSmartRef__":true,"id":2363},"author":"tessi","message":"remove coder from character wooooo!","id":"CC460BFD-5714-4136-9D71-C27CB357B03D"},"2363":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:26:11 GMT+0200 (CEST)"},"2364":{"date":{"__isSmartRef__":true,"id":2365},"author":"tessi","message":"fix reset()","id":"25318C72-069B-4982-80C1-3D6BB62CAEEB"},"2365":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:35:54 GMT+0200 (CEST)"},"2366":{"date":{"__isSmartRef__":true,"id":2367},"author":"tessi","message":"WIP: startConversation","id":"CDE4457D-E565-4B2B-B9A2-11B469420208"},"2367":{"isSerializedDate":true,"string":"Wed Apr 25 2012 17:08:28 GMT+0200 (CEST)"},"2368":{"date":{"__isSmartRef__":true,"id":2369},"author":"tessi","message":"removed todo on getting tile characters","id":"E53A3851-D321-46AB-BAEC-00F6DB517896"},"2369":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:23:53 GMT+0200 (CEST)"},"2370":{"date":{"__isSmartRef__":true,"id":2371},"author":"tessi","message":"removed todo on getting tile characters","id":"481343BD-AEE2-4403-8C34-F8ED283FB915"},"2371":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:23:54 GMT+0200 (CEST)"},"2372":{"date":{"__isSmartRef__":true,"id":2373},"author":"lauritz","message":"no comment","id":"312F87FF-9A4A-4537-94FC-17A675B8F1D0"},"2373":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:00:17 GMT+0200 (CEST)"},"2374":{"date":{"__isSmartRef__":true,"id":2375},"author":"timfelgentreff","message":"no comment","id":"A9AE4A60-C66D-40B6-BAAF-1D9D71F84B6E"},"2375":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:53:18 GMT+0200 (CEST)"},"2376":{"date":{"__isSmartRef__":true,"id":2377},"author":"timfelgentreff","message":"no comment","id":"39F64661-30D8-4C21-8955-3577D7999A1E"},"2377":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:14:46 GMT+0200 (CEST)"},"2378":{"date":{"__isSmartRef__":true,"id":2379},"author":"tessi","message":"","id":"86997E8C-1851-4003-AF70-3637C964F4C2"},"2379":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:40:38 GMT+0200 (CEST)"},"2380":{"date":{"__isSmartRef__":true,"id":2381},"author":"tessi","message":"do not try to start a conversation with busy characters anymore","id":"FC5A962A-B4F5-4952-9DA3-93178498B650"},"2381":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:45:52 GMT+0200 (CEST)"},"2382":{"date":{"__isSmartRef__":true,"id":2383},"author":"timfelgentreff","message":"add A* algorithm","id":"2463589C-B2A5-49C5-B4AC-61C44963498C"},"2383":{"isSerializedDate":true,"string":"Thu May 03 2012 12:16:42 GMT+0200 (CEST)"},"2384":{"date":{"__isSmartRef__":true,"id":2385},"author":"timfelgentreff","message":"start including A* as the walking script","id":"0CE0539A-F853-4368-B65C-FBF9FA1374F6"},"2385":{"isSerializedDate":true,"string":"Thu May 03 2012 12:22:29 GMT+0200 (CEST)"},"2386":{"date":{"__isSmartRef__":true,"id":2387},"author":"timfelgentreff","message":"avoid crashing chrome","id":"C08488EB-0F4F-4D1B-8158-4B4CECA13310"},"2387":{"isSerializedDate":true,"string":"Thu May 03 2012 12:39:24 GMT+0200 (CEST)"},"2388":{"date":{"__isSmartRef__":true,"id":2389},"author":"timfelgentreff","message":"update A*","id":"0ADDF3A6-9B36-4836-952A-034C8AFB76AE"},"2389":{"isSerializedDate":true,"string":"Thu May 03 2012 13:30:55 GMT+0200 (CEST)"},"2390":{"date":{"__isSmartRef__":true,"id":2391},"author":"tessi","message":"talk","id":"A54BE0A6-A721-4931-9C16-1B10721DB077"},"2391":{"isSerializedDate":true,"string":"Thu May 03 2012 15:07:51 GMT+0200 (CEST)"},"2392":{"date":{"__isSmartRef__":true,"id":2393},"author":"tessi","message":"cannot set color to null","id":"8282460E-42E5-474F-B4B1-779328A0CA12"},"2393":{"isSerializedDate":true,"string":"Thu May 03 2012 15:19:48 GMT+0200 (CEST)"},"2394":{"date":{"__isSmartRef__":true,"id":2395},"author":"timfelgentreff","message":"add lifebar and death animation","id":"56443440-08E1-4535-A501-313169B43CF6"},"2395":{"isSerializedDate":true,"string":"Fri May 04 2012 17:23:23 GMT+0200 (CEST)"},"2396":{"date":{"__isSmartRef__":true,"id":2397},"author":"timfelgentreff","message":"stopStepping after remove","id":"67474739-FF28-40D1-B14A-576A8BFFEFC6"},"2397":{"isSerializedDate":true,"string":"Fri May 04 2012 17:24:49 GMT+0200 (CEST)"},"2398":{"date":{"__isSmartRef__":true,"id":2399},"author":"timfelgentreff","message":"slower, more painful death","id":"69220053-3258-4538-84FA-5447CC65011C"},"2399":{"isSerializedDate":true,"string":"Fri May 04 2012 17:25:57 GMT+0200 (CEST)"},"2400":{"date":{"__isSmartRef__":true,"id":2401},"author":"timfelgentreff","message":"no comment","id":"A8214C7B-EBBB-4E93-A914-2794143B55BC"},"2401":{"isSerializedDate":true,"string":"Fri May 04 2012 17:45:57 GMT+0200 (CEST)"},"2402":{"date":{"__isSmartRef__":true,"id":2403},"author":"timfelgentreff","message":"no comment","id":"D908D0F4-3ED1-4F1D-AEB9-7CFC3B0C8BA5"},"2403":{"isSerializedDate":true,"string":"Fri May 04 2012 17:46:41 GMT+0200 (CEST)"},"2404":{"date":{"__isSmartRef__":true,"id":2405},"author":"timfelgentreff","message":"no comment","id":"A506CB13-6C0B-433F-8BE4-73FD6319265A"},"2405":{"isSerializedDate":true,"string":"Fri May 04 2012 17:48:35 GMT+0200 (CEST)"},"2406":{"date":{"__isSmartRef__":true,"id":2407},"author":"timfelgentreff","message":"know your fight phrases","id":"2A0FDBCF-F817-40F3-A5A3-B6029BC24B85"},"2407":{"isSerializedDate":true,"string":"Fri May 04 2012 18:00:37 GMT+0200 (CEST)"},"2408":{"date":{"__isSmartRef__":true,"id":2409},"author":"timfelgentreff","message":"fix misnomer","id":"6841DC46-81BA-485A-90FE-40C795FC925D"},"2409":{"isSerializedDate":true,"string":"Sat May 05 2012 12:42:00 GMT+0200 (CEST)"},"2410":{"date":{"__isSmartRef__":true,"id":2411},"author":"timfelgentreff","message":"no comment","id":"9909F62F-D862-408B-B763-7B126CAECB21"},"2411":{"isSerializedDate":true,"string":"Sat May 05 2012 12:46:46 GMT+0200 (CEST)"},"2412":{"date":{"__isSmartRef__":true,"id":2413},"author":"timfelgentreff","message":"no comment","id":"960441EB-D5D2-49ED-918C-C19ED11E90D5"},"2413":{"isSerializedDate":true,"string":"Sat May 05 2012 12:49:21 GMT+0200 (CEST)"},"2414":{"date":{"__isSmartRef__":true,"id":2415},"author":"timfelgentreff","message":"fix typo","id":"05779C1D-DB1E-4CB9-AA2C-6653533F10C8"},"2415":{"isSerializedDate":true,"string":"Sat May 05 2012 12:51:21 GMT+0200 (CEST)"},"2416":{"date":{"__isSmartRef__":true,"id":2417},"author":"lauritz","message":"no comment","id":"FE139E8C-ABF5-4D0C-97D5-C72CDDCF5321"},"2417":{"isSerializedDate":true,"string":"Mon May 07 2012 10:35:19 GMT+0200 (CEST)"},"2418":{"date":{"__isSmartRef__":true,"id":2419},"author":"lauritz","message":"faster fights","id":"0893EC15-CE3B-43C0-AAE5-B3D8EA6E5151"},"2419":{"isSerializedDate":true,"string":"Mon May 07 2012 11:47:58 GMT+0200 (CEST)"},"2420":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2421":{"x":-1,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2422":{"x":37,"y":-25.00000000000003,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2423":{"setDevStyle":{"__isSmartRef__":true,"id":2424},"setNormalStyle":{"__isSmartRef__":true,"id":2428},"tileSize":{"__isSmartRef__":true,"id":2432},"become":{"__isSmartRef__":true,"id":2436},"walkUntilReached":{"__isSmartRef__":true,"id":2440},"onMouseDown":{"__isSmartRef__":true,"id":2444},"walkTo":{"__isSmartRef__":true,"id":2452},"currentTile":{"__isSmartRef__":true,"id":2456},"toolbox":{"__isSmartRef__":true,"id":2460},"setCurrentSpeed":{"__isSmartRef__":true,"id":2464},"getCurrentSpeed":{"__isSmartRef__":true,"id":2468},"isWalking":{"__isSmartRef__":true,"id":2472},"select":{"__isSmartRef__":true,"id":2476},"deselect":{"__isSmartRef__":true,"id":2480},"becomeRandomCharacter":{"__isSmartRef__":true,"id":2484},"reset":{"__isSmartRef__":true,"id":2488},"setDirectionToTile":{"__isSmartRef__":true,"id":2492},"getDirection":{"__isSmartRef__":true,"id":2496},"setDirection":{"__isSmartRef__":true,"id":2500},"setPosition":{"__isSmartRef__":true,"id":2504},"say":{"__isSmartRef__":true,"id":2512},"soliloquize":{"__isSmartRef__":true,"id":2516},"characterType":{"__isSmartRef__":true,"id":2520},"animate":{"__isSmartRef__":true,"id":2524},"doSomething":{"__isSmartRef__":true,"id":2528},"map":{"__isSmartRef__":true,"id":2532},"game":{"__isSmartRef__":true,"id":2536},"setup":{"__isSmartRef__":true,"id":2540},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":2544},"startConversation":{"__isSmartRef__":true,"id":2552},"startConversationWith":{"__isSmartRef__":true,"id":2556},"shallowCopy":{"__isSmartRef__":true,"id":2560},"conversation":{"__isSmartRef__":true,"id":2564},"answer":{"__isSmartRef__":true,"id":2568},"hideTextBubble":{"__isSmartRef__":true,"id":2572},"aStar":{"__isSmartRef__":true,"id":2576},"aStarHeuristicCostEstimate":{"__isSmartRef__":true,"id":2580},"aStarWalkPath":{"__isSmartRef__":true,"id":2584},"chatBot":{"__isSmartRef__":true,"id":2588},"getHit":{"__isSmartRef__":true,"id":2592},"becomePlayer":{"__isSmartRef__":true,"id":2596},"fight":{"__isSmartRef__":true,"id":2600},"fightPhrases":{"__isSmartRef__":true,"id":2604},"randomQuestions":{"__isSmartRef__":true,"id":2608},"randomAnswersFor":{"__isSmartRef__":true,"id":2612},"executeFightTurnAsking":{"__isSmartRef__":true,"id":2616},"heal":{"__isSmartRef__":true,"id":2620},"isDead":{"__isSmartRef__":true,"id":2624}},"2424":{"varMapping":{"__isSmartRef__":true,"id":2425},"source":"function setDevStyle() {\n if (this.map()) {\n this.setExtent(this.tileSize())\n }\n this.setFill(null)\n this.shape.setBorderColor(Color.yellow)\n}","funcProperties":{"__isSmartRef__":true,"id":2426},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2425":{"this":{"__isSmartRef__":true,"id":2045}},"2426":{"timestamp":{"__isSmartRef__":true,"id":2427},"user":"lauritz","tags":[]},"2427":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:55:28 GMT+0200 (CEST)"},"2428":{"varMapping":{"__isSmartRef__":true,"id":2429},"source":"function setNormalStyle() {\n this.setDevStyle()\n this.shape.setBorderColor(new Color.rgba(0,0,0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":2430},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2429":{"this":{"__isSmartRef__":true,"id":2045}},"2430":{"timestamp":{"__isSmartRef__":true,"id":2431},"user":"tessi","tags":[]},"2431":{"isSerializedDate":true,"string":"Thu May 03 2012 15:25:50 GMT+0200 (CEST)"},"2432":{"varMapping":{"__isSmartRef__":true,"id":2433},"source":"function tileSize() {\n return this.map().tileSize()\n}","funcProperties":{"__isSmartRef__":true,"id":2434},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2433":{"this":{"__isSmartRef__":true,"id":2045}},"2434":{"timestamp":{"__isSmartRef__":true,"id":2435},"user":"undefined","tags":[]},"2435":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:42:19 GMT+0200 (CEST)"},"2436":{"varMapping":{"__isSmartRef__":true,"id":2437},"source":"function become(player) {\n if (this.character) {\n this.character.remove()\n this.character = null\n }\n if (!player) { return this }\n \n this.character = this.toolbox(player + \"Character\")\n if (this.character) {\n // image should be 150% of a tile\n this.character.setExtent(this.tileSize().scaleBy(1.5))\n // -25% offset to center character on tile\n this.character.setPositionTopLeft(this.tileSize().scaleBy(-0.25))\n this.addMorph(this.character)\n this.character.disableEvents()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2438},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2437":{"this":{"__isSmartRef__":true,"id":2045}},"2438":{"timestamp":{"__isSmartRef__":true,"id":2439},"user":"timfelgentreff","tags":[]},"2439":{"isSerializedDate":true,"string":"Sat May 05 2012 13:06:24 GMT+0200 (CEST)"},"2440":{"varMapping":{"__isSmartRef__":true,"id":2441},"source":"function walkUntilReached(tile) {\n var minPositive = function (a, b) {\n a = Math.abs(a), b = Math.abs(b)\n return a ? (b ? Math.min(a, b) : a) : b\n }\n\n // this.setPosition(pt(0,0))\n if (this.getPosition().equals(tile.getPosition())) {\n if (this.walkScript) { this.walkScript.stop() }\n this.setDirection(pt(0,0))\n tile.enterTile(this)\n } else {\n if (this.currentTile() !== tile) {\n this.setDirectionToTile(tile)\n var nextNeighbours = this.currentTile().neighboursInDirection(this.getDirection())\n if (nextNeighbours.any(function (each) { return each.isObstacle() })) {\n this.walkTo(this.currentTile())\n } else {\n var directionVector = this.getPosition().subPt(tile.getPosition()),\n maxSpeed = minPositive(directionVector.x, directionVector.y),\n speed = Math.min(maxSpeed, this.getCurrentSpeed())\n this.moveBy(this.getDirection().scaleBy(speed))\n }\n } else {\n var directionVector = this.getPosition().subPt(tile.getPosition()),\n maxSpeed = minPositive(directionVector.x, directionVector.y),\n speed = Math.min(maxSpeed, this.getCurrentSpeed())\n this.moveBy(this.getDirection().scaleBy(speed))\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2442},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2441":{"this":{"__isSmartRef__":true,"id":2045}},"2442":{"timestamp":{"__isSmartRef__":true,"id":2443},"user":"timfelgentreff","tags":[]},"2443":{"isSerializedDate":true,"string":"Fri May 04 2012 17:37:13 GMT+0200 (CEST)"},"2444":{"varMapping":{"__isSmartRef__":true,"id":2445},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.game()) {\n if (this.game().selectedUnit !== this) {\n if (this.game().selectedUnit !== null) {\n this.game().selectedUnit.deselect()\n }\n this.select()\n } else {\n this.deselect()\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2450},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2445":{"this":{"__isSmartRef__":true,"id":2045},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2446}},"2446":{"$super":{"__isSmartRef__":true,"id":2447}},"2447":{"varMapping":{"__isSmartRef__":true,"id":2448},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2449},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2448":{"obj":{"__isSmartRef__":true,"id":2045},"name":"onMouseDown"},"2449":{},"2450":{"timestamp":{"__isSmartRef__":true,"id":2451},"user":"tessi","tags":[]},"2451":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:21:42 GMT+0200 (CEST)"},"2452":{"varMapping":{"__isSmartRef__":true,"id":2453},"source":"function walkTo(tile) {\n this.lastSpeedTimestamp = Date.now()\n var path = this.aStar(tile),\n that = this\n if (path.length === 0) {\n alertOK(\"No path found\")\n } else {\n this.walkScript = this.startStepping(10, \"aStarWalkPath\", path)\n }\n // this.walkScript = this.startStepping(10, \"walkUntilReached\", tile)\n this.currentTile().leaveTile(this)\n}","funcProperties":{"__isSmartRef__":true,"id":2454},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2453":{"this":{"__isSmartRef__":true,"id":2045}},"2454":{"timestamp":{"__isSmartRef__":true,"id":2455},"user":"timfelgentreff","tags":[]},"2455":{"isSerializedDate":true,"string":"Thu May 03 2012 12:42:41 GMT+0200 (CEST)"},"2456":{"varMapping":{"__isSmartRef__":true,"id":2457},"source":"function currentTile() {\n if ( !this.character || !this.map() ) { return null }\n return this.map().getTileForPosition(\n this.getPosition().addPt(this.character.getBounds().center()))\n}","funcProperties":{"__isSmartRef__":true,"id":2458},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2457":{"this":{"__isSmartRef__":true,"id":2045}},"2458":{"timestamp":{"__isSmartRef__":true,"id":2459},"user":"tessi","tags":[]},"2459":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:13:47 GMT+0200 (CEST)"},"2460":{"varMapping":{"__isSmartRef__":true,"id":2461},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":2462},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2461":{"this":{"__isSmartRef__":true,"id":2045}},"2462":{"timestamp":{"__isSmartRef__":true,"id":2463},"user":"tessi","tags":[]},"2463":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:22:42 GMT+0200 (CEST)"},"2464":{"varMapping":{"__isSmartRef__":true,"id":2465},"source":"function setCurrentSpeed(arg) {\n this.currentSpeed = arg\n}","funcProperties":{"__isSmartRef__":true,"id":2466},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2465":{"this":{"__isSmartRef__":true,"id":2045}},"2466":{"timestamp":{"__isSmartRef__":true,"id":2467},"user":"timfelgentreff","tags":[]},"2467":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:47:22 GMT+0200 (CEST)"},"2468":{"varMapping":{"__isSmartRef__":true,"id":2469},"source":"function getCurrentSpeed() {\n var multiplier = (Date.now() - this.lastSpeedTimestamp) / 10\n this.lastSpeedTimestamp = Date.now()\n return multiplier\n}","funcProperties":{"__isSmartRef__":true,"id":2470},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2469":{"this":{"__isSmartRef__":true,"id":2045}},"2470":{"timestamp":{"__isSmartRef__":true,"id":2471},"user":"timfelgentreff","tags":[]},"2471":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:55:19 GMT+0200 (CEST)"},"2472":{"varMapping":{"__isSmartRef__":true,"id":2473},"source":"function isWalking() {\n return !this.getDirection().equals(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":2474},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2473":{"this":{"__isSmartRef__":true,"id":2045}},"2474":{"timestamp":{"__isSmartRef__":true,"id":2475},"user":"lauritz","tags":[]},"2475":{"isSerializedDate":true,"string":"Fri Apr 27 2012 14:07:33 GMT+0200 (CEST)"},"2476":{"varMapping":{"__isSmartRef__":true,"id":2477},"source":"function select() {\n this.game().selectedUnit = this\n this.setDevStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":2478},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2477":{"this":{"__isSmartRef__":true,"id":2045}},"2478":{"timestamp":{"__isSmartRef__":true,"id":2479},"user":"tessi","tags":[]},"2479":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:21:57 GMT+0200 (CEST)"},"2480":{"varMapping":{"__isSmartRef__":true,"id":2481},"source":"function deselect() {\n this.game().selectedUnit = null\n this.setNormalStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":2482},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2481":{"this":{"__isSmartRef__":true,"id":2045}},"2482":{"timestamp":{"__isSmartRef__":true,"id":2483},"user":"tessi","tags":[]},"2483":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:20:46 GMT+0200 (CEST)"},"2484":{"varMapping":{"__isSmartRef__":true,"id":2485},"source":"function becomeRandomCharacter() {\n var characterNames = this.game().partNamesEndingWith(\"Character\")\n this.become(characterNames[Math.round(Math.random() * (characterNames.length - 1))])\n}","funcProperties":{"__isSmartRef__":true,"id":2486},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2485":{"this":{"__isSmartRef__":true,"id":2045}},"2486":{"timestamp":{"__isSmartRef__":true,"id":2487},"user":"tessi","tags":[]},"2487":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:20:00 GMT+0200 (CEST)"},"2488":{"varMapping":{"__isSmartRef__":true,"id":2489},"source":"function reset() {\n this.become(null)\n this.submorphs.invoke(\"remove\")\n this.stopStepping()\n this.conversationScript = this.walkScript = this.animateScript = undefined\n this.lastAnswer = this.conversationTurn = this.textBubble = this.isBusy = undefined\n this.setDevStyle()\n this.addMorph(this.lifeBar)\n this.lifeBar.reset()\n this.addMorph(this.deathAnimation)\n this.deathAnimation.reset()\n}","funcProperties":{"__isSmartRef__":true,"id":2490},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2489":{"this":{"__isSmartRef__":true,"id":2045}},"2490":{"timestamp":{"__isSmartRef__":true,"id":2491},"user":"timfelgentreff","tags":[]},"2491":{"isSerializedDate":true,"string":"Fri May 04 2012 17:22:56 GMT+0200 (CEST)"},"2492":{"varMapping":{"__isSmartRef__":true,"id":2493},"source":"function setDirectionToTile(tile) {\n var direction = tile.getPosition().subPt(this.getPosition()),\n xDirection = direction.x / Math.abs(direction.x),\n yDirection = direction.y / Math.abs(direction.y)\n this.setDirection(pt(xDirection, yDirection))\n}","funcProperties":{"__isSmartRef__":true,"id":2494},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2493":{"this":{"__isSmartRef__":true,"id":2045}},"2494":{"timestamp":{"__isSmartRef__":true,"id":2495},"user":"lauritz","tags":[]},"2495":{"isSerializedDate":true,"string":"Fri Apr 27 2012 14:07:33 GMT+0200 (CEST)"},"2496":{"varMapping":{"__isSmartRef__":true,"id":2497},"source":"function getDirection() {\n return this.direction ? this.direction : pt(0,0)\n}","funcProperties":{"__isSmartRef__":true,"id":2498},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2497":{"this":{"__isSmartRef__":true,"id":2045}},"2498":{"timestamp":{"__isSmartRef__":true,"id":2499},"user":"timfelgentreff","tags":[]},"2499":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:50:04 GMT+0200 (CEST)"},"2500":{"varMapping":{"__isSmartRef__":true,"id":2501},"source":"function setDirection(arg) {\n this.direction = arg\n if (this.character && this.character.face) {\n if (arg.x === 0) {\n arg.y > 0 ? this.character.face(\"south\") : this.character.face(\"north\")\n } else if (arg.x === -1) {\n this.character.face(\"west\")\n } else {\n this.character.face(\"east\")\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2502},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2501":{"this":{"__isSmartRef__":true,"id":2045}},"2502":{"timestamp":{"__isSmartRef__":true,"id":2503},"user":"timfelgentreff","tags":[]},"2503":{"isSerializedDate":true,"string":"Fri May 04 2012 17:36:20 GMT+0200 (CEST)"},"2504":{"varMapping":{"__isSmartRef__":true,"id":2505},"source":"function setPosition(point) {\n $super(point)\n if (this.game()) {\n this.renderContext().morphNode.style.zIndex = this.game().zIndexForThings() + point.y\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2510},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2505":{"this":{"__isSmartRef__":true,"id":2045},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2506}},"2506":{"$super":{"__isSmartRef__":true,"id":2507}},"2507":{"varMapping":{"__isSmartRef__":true,"id":2508},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2509},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2508":{"obj":{"__isSmartRef__":true,"id":2045},"name":"setPosition"},"2509":{},"2510":{"timestamp":{"__isSmartRef__":true,"id":2511},"user":"undefined","tags":[]},"2511":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:54:50 GMT+0200 (CEST)"},"2512":{"varMapping":{"__isSmartRef__":true,"id":2513},"source":"function say(aString) {\n if ( !aString ) { return }\n if (!this.textBubble) {\n this.textBubble = this.toolbox(\"TextBubble\")\n this.addMorph(this.textBubble)\n }\n this.textBubble.say(aString)\n}","funcProperties":{"__isSmartRef__":true,"id":2514},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2513":{"this":{"__isSmartRef__":true,"id":2045}},"2514":{"timestamp":{"__isSmartRef__":true,"id":2515},"user":"timfelgentreff","tags":[]},"2515":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:03:55 GMT+0200 (CEST)"},"2516":{"varMapping":{"__isSmartRef__":true,"id":2517},"source":"function soliloquize() {\n this.isBusy = true\n // talk to self\n var type = this.characterType()\n if ( type && type.soliloquize ) {\n this.say(type.soliloquize())\n } else {\n this.say(\"...\")\n }\n this.isBusy = false\n}","funcProperties":{"__isSmartRef__":true,"id":2518},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2517":{"this":{"__isSmartRef__":true,"id":2045}},"2518":{"timestamp":{"__isSmartRef__":true,"id":2519},"user":"tessi","tags":[]},"2519":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:21:54 GMT+0200 (CEST)"},"2520":{"varMapping":{"__isSmartRef__":true,"id":2521},"source":"function characterType() {\n return this.character\n}","funcProperties":{"__isSmartRef__":true,"id":2522},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2521":{"this":{"__isSmartRef__":true,"id":2045}},"2522":{"timestamp":{"__isSmartRef__":true,"id":2523},"user":"timfelgentreff","tags":[]},"2523":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:00:25 GMT+0200 (CEST)"},"2524":{"varMapping":{"__isSmartRef__":true,"id":2525},"source":"function animate(bool) {\n if (bool || (bool === undefined)) {\n this.animateScript = this.startStepping(3000, \"doSomething\", {})\n } else if ( this.animateScript ){\n this.animateScript.stop()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2526},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2525":{"this":{"__isSmartRef__":true,"id":2045}},"2526":{"timestamp":{"__isSmartRef__":true,"id":2527},"user":"lauritz","tags":[]},"2527":{"isSerializedDate":true,"string":"Mon May 07 2012 11:01:40 GMT+0200 (CEST)"},"2528":{"varMapping":{"__isSmartRef__":true,"id":2529},"source":"function doSomething() {\n var r = Math.random()\n if (this.isBusy) { return }\n if (r < 0.1 && r >= 0.03 ) {\n this.startConversation()\n } else if (r < 0.03 ) {\n this.soliloquize()\n } else if (this.character.isPlayer) {\n this.fight()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2530},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2529":{"this":{"__isSmartRef__":true,"id":2045}},"2530":{"timestamp":{"__isSmartRef__":true,"id":2531},"user":"timfelgentreff","tags":[]},"2531":{"isSerializedDate":true,"string":"Fri May 04 2012 17:51:09 GMT+0200 (CEST)"},"2532":{"varMapping":{"__isSmartRef__":true,"id":2533},"source":"function map() {\n return this.owner && this.owner.isMap ? this.owner : undefined\n}","funcProperties":{"__isSmartRef__":true,"id":2534},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2533":{"this":{"__isSmartRef__":true,"id":2045}},"2534":{"timestamp":{"__isSmartRef__":true,"id":2535},"user":"lauritz","tags":[]},"2535":{"isSerializedDate":true,"string":"Wed May 02 2012 17:43:01 GMT+0200 (CEST)"},"2536":{"varMapping":{"__isSmartRef__":true,"id":2537},"source":"function game() {\n return this.map() ? this.map().game() : undefined\n}","funcProperties":{"__isSmartRef__":true,"id":2538},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2537":{"this":{"__isSmartRef__":true,"id":2045}},"2538":{"timestamp":{"__isSmartRef__":true,"id":2539},"user":"undefined","tags":[]},"2539":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:32:54 GMT+0200 (CEST)"},"2540":{"varMapping":{"__isSmartRef__":true,"id":2541},"source":"function setup() {\n this.becomeRandomCharacter()\n this.animate()\n}","funcProperties":{"__isSmartRef__":true,"id":2542},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2541":{"this":{"__isSmartRef__":true,"id":2045}},"2542":{"timestamp":{"__isSmartRef__":true,"id":2543},"user":"undefined","tags":[]},"2543":{"isSerializedDate":true,"string":"Wed Apr 25 2012 14:40:06 GMT+0200 (CEST)"},"2544":{"varMapping":{"__isSmartRef__":true,"id":2545},"source":"function copyToPartsBinWithUserRequest() {\n this.reset()\n $super()\n}","funcProperties":{"__isSmartRef__":true,"id":2550},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2545":{"this":{"__isSmartRef__":true,"id":2045},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2546}},"2546":{"$super":{"__isSmartRef__":true,"id":2547}},"2547":{"varMapping":{"__isSmartRef__":true,"id":2548},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2549},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2548":{"obj":{"__isSmartRef__":true,"id":2045},"name":"copyToPartsBinWithUserRequest"},"2549":{},"2550":{"timestamp":{"__isSmartRef__":true,"id":2551},"user":"tessi","tags":[]},"2551":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:40:19 GMT+0200 (CEST)"},"2552":{"varMapping":{"__isSmartRef__":true,"id":2553},"source":"function startConversation() {\n this.isBusy = true\n var persons = []\n this.currentTile().neighbours().each(function(tile) {\n persons.pushAll(tile.characters())\n })\n persons = persons.select(function(each) { return !each.isBusy })\n if (persons.length > 0) {\n this.startConversationWith(persons[Math.floor(Math.random()*persons.length)])\n } else {\n this.isBusy = false\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2554},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2553":{"this":{"__isSmartRef__":true,"id":2045}},"2554":{"timestamp":{"__isSmartRef__":true,"id":2555},"user":"lauritz","tags":[]},"2555":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:59:27 GMT+0200 (CEST)"},"2556":{"varMapping":{"__isSmartRef__":true,"id":2557},"source":"function startConversationWith(character) {\n // I serve as the \"conversation host\" while the other character remains passive\n // The other character is controlled by me\n this.conversationScript = this.startStepping(4000, \"conversation\", {other: character})\n}","funcProperties":{"__isSmartRef__":true,"id":2558},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2557":{"this":{"__isSmartRef__":true,"id":2045}},"2558":{"timestamp":{"__isSmartRef__":true,"id":2559},"user":"lauritz","tags":[]},"2559":{"isSerializedDate":true,"string":"Fri Apr 27 2012 13:57:47 GMT+0200 (CEST)"},"2560":{"varMapping":{"__isSmartRef__":true,"id":2561},"source":"function shallowCopy() {\n var copy = Morph.makeRectangle(this.bounds()),\n that = this\n Functions.own(this).each(function (ea) {\n copy[ea] = that[ea].asScriptOf(copy, ea)\n })\n \n // also shallow-copy partsBinMetaInfo \n if (this.partsBinMetaInfo) {\n copy.partsBinMetaInfo = this.partsBinMetaInfo\n }\n\n // full copy for death animation and life bar\n copy.lifeBar = this.lifeBar.copy()\n copy.lifeBar.character = copy\n copy.addMorph(copy.lifeBar)\n copy.deathAnimation = this.deathAnimation.copy()\n copy.deathAnimation.character = copy\n copy.addMorph(copy.deathAnimation)\n\n return copy\n}","funcProperties":{"__isSmartRef__":true,"id":2562},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2561":{"this":{"__isSmartRef__":true,"id":2045}},"2562":{"timestamp":{"__isSmartRef__":true,"id":2563},"user":"timfelgentreff","tags":[]},"2563":{"isSerializedDate":true,"string":"Fri May 04 2012 17:48:29 GMT+0200 (CEST)"},"2564":{"varMapping":{"__isSmartRef__":true,"id":2565},"source":"function conversation(args) {\n var other = args.other, a, b, stopConversation\n if (this.conversationTurn) {\n a = this; b = other\n } else {\n a = other; b = this\n }\n [a,b].invoke(\"hideTextBubble\")\n if (this.lastAnswer == null) {\n this.conversationScript.stop()\n this.lastAnswer = a.answer(undefined, b, true)\n if (this.lastAnswer) { a.say(this.lastAnswer) }\n var that = this\n setTimeout(function() {\n a.hideTextBubble()\n that.lastAnswer = b.answer(that.lastAnswer, a, true)\n if (that.lastAnswer) { b.say(that.lastAnswer) }\n a.isBusy = false\n b.isBusy = false\n }, 4000)\n }\n this.lastAnswer = a.answer(this.lastAnswer, b, false)\n if (this.lastAnswer) { a.say(this.lastAnswer) }\n this.conversationTurn = !this.conversationTurn\n}","funcProperties":{"__isSmartRef__":true,"id":2566},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2565":{"this":{"__isSmartRef__":true,"id":2045}},"2566":{"timestamp":{"__isSmartRef__":true,"id":2567},"user":"lauritz","tags":[]},"2567":{"isSerializedDate":true,"string":"Fri Apr 27 2012 14:50:04 GMT+0200 (CEST)"},"2568":{"varMapping":{"__isSmartRef__":true,"id":2569},"source":"function answer(lastSaid, other, sayGoodbye) {\n // either return a string or null to indicate that you want to stop the conversation\n // when sayGoodbye-flag is set, this is the last answer-call for this conversation\n var type = this.characterType()\n if ( type && type.answer ) {\n return type.answer(lastSaid, other, sayGoodbye)\n } else {\n if (sayGoodbye) {\n return \"Goodbye!\"\n } else {\n if ( Math.random() > 0.2 ) {\n return this.chatBot().answerTo(lastSaid);\n }\n }\n }\n \n}","funcProperties":{"__isSmartRef__":true,"id":2570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2569":{"this":{"__isSmartRef__":true,"id":2045}},"2570":{"timestamp":{"__isSmartRef__":true,"id":2571},"user":"tessi","tags":[]},"2571":{"isSerializedDate":true,"string":"Thu May 03 2012 15:09:16 GMT+0200 (CEST)"},"2572":{"varMapping":{"__isSmartRef__":true,"id":2573},"source":"function hideTextBubble() {\n if (this.textBubble) {\n this.textBubble.hide()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2574},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2573":{"this":{"__isSmartRef__":true,"id":2045}},"2574":{"timestamp":{"__isSmartRef__":true,"id":2575},"user":"tessi","tags":[]},"2575":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:16:32 GMT+0200 (CEST)"},"2576":{"varMapping":{"__isSmartRef__":true,"id":2577},"source":"function aStar(goal) {\n var that = this,\n start = this.currentTile(),\n closedset = [],\n openset = [start], // The set of tentative nodes to be evaluated\n came_from = {}, // The map of navigated nodes.\n g_score = {}, // general cost along best known path (as the bird flies)\n h_score = {}, // heuristic cost - used to drive parameters\n f_score = {} // sum of heuristic and general cost\n\n g_score[start] = 0 // Cost from start along best known path.\n h_score[start] = this.aStarHeuristicCostEstimate(start, goal)\n f_score[start] = g_score[start] + h_score[start] // Estimated total cost from start to goal\n\n while (openset.length > 0) { // Search until we have nothing more to search\n // Pick the next best scored candidate\n var current = openset.sortBy(function (e) { return f_score[e] }).first()\n\n if (current === goal) { // we found a path, construct the whole path and return\n var path = [],\n current_node = current\n while (came_from[current_node]) {\n path.push(current_node)\n current_node = came_from[current_node]\n }\n path.push(current_node)\n return path.reverse()\n }\n\n // We haven't found a path, mark the candidate as checked\n openset = openset.without(current)\n closedset.push(current)\n\n // check all neighbours\n current.neighboursReachableFromHere().each(function (neighbour) {\n if (!closedset.member(neighbour)) {\n // this neighbour can be walked upon and we haven't checked it before\n // assign it a score via the current path\n var tentative_g_score = g_score[current] + current.distanceTo(neighbour).r(),\n tentative_is_better = true\n\n if (!openset.member(neighbour)) {\n // we haven't given this a score before, give it a heuristic score\n openset.push(neighbour)\n h_score[neighbour] = that.aStarHeuristicCostEstimate(neighbour, goal)\n } else if (tentative_g_score >= g_score[neighbour]) {\n // we have given a better score before, this one can be dismissed\n tentative_is_better = false\n }\n\n if (tentative_is_better === true) {\n // the new score we found for this neighbour is better than the previous\n // set the new score and the new path\n came_from[neighbour] = current\n g_score[neighbour] = tentative_g_score\n f_score[neighbour] = g_score[neighbour] + h_score[neighbour]\n }\n }\n })\n }\n return []\n}","funcProperties":{"__isSmartRef__":true,"id":2578},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2577":{"this":{"__isSmartRef__":true,"id":2045}},"2578":{"timestamp":{"__isSmartRef__":true,"id":2579},"user":"timfelgentreff","tags":["pathfinding"]},"2579":{"isSerializedDate":true,"string":"Thu May 03 2012 13:29:11 GMT+0200 (CEST)"},"2580":{"varMapping":{"__isSmartRef__":true,"id":2581},"source":"function aStarHeuristicCostEstimate(from, to) {\n // this should be monotonic and consistent\n // see comment to: http://en.wikipedia.org/wiki/A*_search_algorithm#Pseudocode\n return 0\n}","funcProperties":{"__isSmartRef__":true,"id":2582},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2581":{"this":{"__isSmartRef__":true,"id":2045}},"2582":{"timestamp":{"__isSmartRef__":true,"id":2583},"user":"timfelgentreff","tags":["pathfinding"]},"2583":{"isSerializedDate":true,"string":"Thu May 03 2012 13:17:11 GMT+0200 (CEST)"},"2584":{"varMapping":{"__isSmartRef__":true,"id":2585},"source":"function aStarWalkPath(path) {\n var minPositive = function (a, b) {\n a = Math.abs(a), b = Math.abs(b)\n return a ? (b ? Math.min(a, b) : a) : b\n }\n\n var finalTile = path.last(),\n nextTile = path.first()\n\n // this.setPosition(pt(0,0))\n if (this.getPosition().equals(finalTile.getPosition())) {\n if (this.walkScript) { this.walkScript.stop() }\n this.setDirection(pt(0,1))\n this.currentTile().enterTile(this)\n } else {\n this.setDirectionToTile(nextTile)\n var directionVector = this.getPosition().subPt(nextTile.getPosition()),\n maxSpeed = minPositive(directionVector.x, directionVector.y),\n speed = Math.min(maxSpeed, this.getCurrentSpeed())\n this.moveBy(this.getDirection().scaleBy(speed))\n if (path.length > 1) { // remove all but the final tile,\n // we need that one for positioning\n var idx = path.indexOf(this.currentTile())\n if (idx > -1) {\n path.removeAt(idx)\n }\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2586},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2585":{"this":{"__isSmartRef__":true,"id":2045}},"2586":{"timestamp":{"__isSmartRef__":true,"id":2587},"user":"lauritz","tags":[]},"2587":{"isSerializedDate":true,"string":"Sat May 05 2012 19:26:02 GMT+0200 (CEST)"},"2588":{"varMapping":{"__isSmartRef__":true,"id":2589},"source":"function chatBot() {\n if ( !this._chatbot ) { this._chatbot = new ChatBot() }\n return this._chatbot\n}","funcProperties":{"__isSmartRef__":true,"id":2590},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2589":{"this":{"__isSmartRef__":true,"id":2045}},"2590":{"timestamp":{"__isSmartRef__":true,"id":2591},"user":"tessi","tags":[]},"2591":{"isSerializedDate":true,"string":"Thu May 03 2012 15:10:15 GMT+0200 (CEST)"},"2592":{"varMapping":{"__isSmartRef__":true,"id":2593},"source":"function getHit() {\n this.lifeBar.hit()\n}","funcProperties":{"__isSmartRef__":true,"id":2594},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2593":{"this":{"__isSmartRef__":true,"id":2045}},"2594":{"timestamp":{"__isSmartRef__":true,"id":2595},"user":"timfelgentreff","tags":[]},"2595":{"isSerializedDate":true,"string":"Fri May 04 2012 17:17:49 GMT+0200 (CEST)"},"2596":{"varMapping":{"__isSmartRef__":true,"id":2597},"source":"function becomePlayer() {\n if (this.character) {\n this.character.remove()\n this.character = null\n }\n \n this.character = this.toolbox(\"Player\")\n if (this.character) {\n this.character.setExtent(this.character.getExtent().scaleBy(1.2))\n this.character.setPosition(pt(6, -5))\n this.addMorph(this.character)\n this.character.disableEvents()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2598},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2597":{"this":{"__isSmartRef__":true,"id":2045}},"2598":{"timestamp":{"__isSmartRef__":true,"id":2599},"user":"timfelgentreff","tags":[]},"2599":{"isSerializedDate":true,"string":"Fri May 04 2012 17:46:36 GMT+0200 (CEST)"},"2600":{"varMapping":{"__isSmartRef__":true,"id":2601},"source":"function fight() {\n this.isBusy = true\n var persons = []\n this.currentTile().neighbours().each(function(tile) {\n persons.pushAll(tile.characters())\n })\n persons = persons.select(function(each) { return !each.isBusy })\n if (persons.length > 0) {\n var personForFight = persons[Math.floor(Math.random()*persons.length)]\n personForFight.isBusy = true\n if (Math.round(Math.random()) === 0) {\n this.executeFightTurnAsking(this, personForFight)\n } else {\n this.executeFightTurnAsking(personForFight, this)\n }\n } else {\n this.isBusy = false\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2602},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2601":{"this":{"__isSmartRef__":true,"id":2045}},"2602":{"timestamp":{"__isSmartRef__":true,"id":2603},"user":"timfelgentreff","tags":[]},"2603":{"isSerializedDate":true,"string":"Sat May 05 2012 12:46:40 GMT+0200 (CEST)"},"2604":{"varMapping":{"__isSmartRef__":true,"id":2605},"source":"function fightPhrases() {\n return {\"This is the END for you, you gutter-crawling cur!\": \"And I've got a little TIP for you, get the POINT?\",\n\t\"Soon you'll be wearing my sword like a shish kebab!\": \"First you better stop waiving it like a feather-duster.\",\n\t\"My handkerchief will wipe up your blood!\": \"So you got that job as janitor, after all.\",\n\t\"People fall at my feet when they see me coming.\": \"Even BEFORE they smell your breath?\",\n\t\"I once owned a dog that was smarter then you.\": \"He must have taught you everything you know.\",\n\t\"You make me want to puke.\": \"You make me think somebody already did.\",\n\t\"Nobody's ever drawn blood from me and nobody ever will.\": \"You run THAT fast?\",\n\t\"You fight like a dairy farmer.\": \"How appropriate. You fight like a cow.\",\n\t\"I got this scar on my face during a mighty struggle!\": \"I hope now you've learned to stop picking your nose.\",\n\t\"Have you stopped wearing diapers yet?\": \"Why, did you want to borrow one?\",\n\t\"I've heard you were a contemptible sneak.\": \"Too bad no one's ever heard of YOU at all.\",\n\t\"You're no match for my brains, you poor fool.\": \"I'd be in real trouble if you ever used them.\",\n\t\"You have the manners of a beggar.\": \"I wanted to make sure you'd feel comfortable with me.\",\n\t\"I'm not going to take your insolence sitting down!\": \"Your hemorrhoids are flaring up again, eh?\",\n\t\"There are no words for how disgusting you are.\": \"Yes there are. You just never learned them.\",\n\t\"I've spoken with apes more polite then you.\": \"I'm glad to hear you attended your family reunion. \",\n\t\"I've got a long, sharp lesson for you you to learn today.\": \"And I've got a little TIP for you. Get the POINT?\",\n\t\"My tongue is sharper then any sword.\": \"First you better stop waving it like a feather-duster.\",\n\t\"My name is feared in every dirty corner of this island!\": \"So you got that job as janitor, after all.\",\n\t\"My wisest enemies run away at the first sight of me!\": \"Even BEFORE they smell your breath?\",\n\t\"Only once have I met such a coward!\": \"He must have taught you everything you know.\",\n\t\"If your brother's like you, better to marry a pig.\": \"You make me think somebody already did.\",\n\t\"No one will ever catch ME fighting as badly as you do.\": \"You run THAT fast?\",\n\t\"I will milk every drop of blood from your body!\": \"How appropriate. You fight like a cow.\",\n\t\"My last fight ended with my hands covered with blood.\": \"I hope now you've learned to stop picking your nose.\",\n\t\"I hope you have a boat ready for a quick escape.\": \"Why, did you want to borrow one?\",\n\t\"My sword is famous all over the Caribbean!\": \"Too bad no one's ever heard of YOU at all.\",\n\t\"I've got the courage and skill of a master swordsman!\": \"I'd be in real trouble if you ever used them.\",\n\t\"Every word you say to me is stupid.\": \"I wanted to make sure you'd feel comfortable with me.\",\n\t\"You are a pain in the backside, sir!\": \"Your hemorrhoids are flaring up again, eh?\",\n\t\"There are no clever moves that can help you now.\": \"Yes there are. You just never learned them.\",\n\t\"Now I know what filth and stupidity really are.\": \"I'm glad to hear you attended your family reunion.\",\n\t\"I usually see people like you passed-out on tavern floors.\": \"Even BEFORE they smell your breath? \",\n\t\"My attacks have left entire islands depopulated!\": \"With your breath, I'm sure they all suffocated.\",\n\t\"You have the sex appeal of a shar-pei!\": \"I look that much like your fiancée?\",\n\t\"When I'm done, your body will be rotted and putrefied!\": \"Then killing you must be justifiable fungicide.\",\n\t\"Your looks would make pigs nauseated!\": \"If you don't count all the ones you've dated.\",\n\t\"Your lips look like they belong on the catch of the day!\": \"When I'm done with you, you'll be a boneless filet.\",\n\t\"I give you a choice. You can be gutted, or decapitated!\": \"With you around, I'd rather be fumigated.\",\n\t\"Never before have I faced someone so sissified!\": \"Is that your face? I thought it was your backside.\",\n\t\"You're a disgrace to your species, you're so undignified!\": \"At least mine can be identified.\",\n\t\"Nothing can stop me from blowing you away!\": \"I could, if you would use some breath spray.\",\n\t\"I have never lost a melee!\": \"You would have, but you were always running away.\",\n\t\"Your mother wears a toupee!\": \"Oh, that is so cliché.\",\n\t\"My skills with a sword are highly venerated!\": \"Too bad they're all fabricated.\",\n\t\"Your stench would make an outhouse cleaner irritated!\": \"Then perhaps you should switch to decaffeinated.\",\n\t\"I can't tell which of my traits have you the most intimidated!\": \"Your odor alone makes me aggravated, agitated, and infuriated\",\n\t\"Nothing on this earth can save your sorry hide!\": \"The only way you'll be preserved is in formaldehyde\",\n\t\"You'll find I'm dogged and relentless to my prey!\": \"Then be a good dog, Sit! Stay! \",\n\t\"Every enemy I have met, I've annihilated!\": \"With your breath, I'm sure they all suffocated.\",\n\t\"You're as repulsive as a monkey in a negligee!\": \"I look that much like your fiancée?\",\n\t\"Killing you would be justifiable homicide!\": \"Then killing you must be justifiable fungicide.\",\n\t\"You're the ugliest monster ever created!\": \"If you don't count all the ones you've dated.\",\n\t\"I'll skewer you like a sow at a buffet!\": \"When I'm done with you, you'll be a boneless filet.\",\n\t\"Would you like to be buried, or cremated?\": \"With you around, I'd rather be fumigated.\",\n\t\"Coming face to face with me must leave you petrified!\": \"Is that your face? I thought it was your backside.\",\n\t\"When your father first saw you, he must have been mortified!\": \"At least mine can be identified.\",\n\t\"You can't match my witty repartee!\": \"I could, if you would use some breath spray.\",\n\t\"I have never seen such clumsy swordplay!\": \"You would have, but you were always running away.\",\n\t\"En Garde! Touché!\": \"Oh, that is so cliché.\",\n\t\"Throughout the Caribbean, my great deeds are celebrated!\": \"Too bad they're all fabricated.\",\n\t\"I can't rest 'til' you've been exterminated!\": \"Then perhaps you should switch to decaffeinated.\",\n\t\"I'll leave you devastated, mutilated, and perforated!\": \"Your odor alone makes me aggravated, agitated, and infuriated\",\n\t\"Heaven preserve me! You look like something that's died!\": \"The only way you'll be preserved is in formaldehyde\",\n\t\"I'll hound you night and day!\": \"Then be a good dog, Sit! Stay! \",\n\t\"Today, by myself, twelve people I've beaten.\": \"From the size of your gut I'd guess they were eaten.\",\n\t\"I've got muscles in places you've never even heard of.\": \"It's too bad none of them are in your arms.\",\n\t\"Give up now, or I'll crush you like a grape!\": \"I would if it would stop your WINE-ING.\",\n\t\"My ninety-eight year old grandmother has bigger arms than you!\": \"Yeah, but we both got better bladder control than you do.\",\n\t\"I'm going to put your arm in a sling!\": \"Why, ya studying to be a nurse?\",\n\t\"My stupefying strength will shatter your ulna into a million pieces!\": \"I'm surprised you can count that high!\",\n\t\"Hey, look over there!\": \"Yeah, yeah I know: it's a three headed monkey.\",\n\t\"Your knuckles I'll grind to a splintery paste.\": \"I thought that the been dip had a strange taste.\",\n\t\"Your arms are no bigger than fleas that I've met!\": \"So THAT'S why you're scratching. I'd go see a vet.\",\n\t\"People consider my fists lethal weapons!\": \"Sadly, your breath should be equally reckoned.\",\n\t\"Only once have I met such a coward!\": \"He must have taught you everything you know.\",\n\t\"You're the ugliest creature I've ever seen in my life.\": \"I'm shocked that you've never gazed at your wife.\",\n\t\"My forearms have been mistaken for tree trunks!\": \"An over-the-counter defoliant could help with that problem.\",\n\t\"I've out-wrestled octopi with these arms!\": \"I'm sure that spineless creatures everywhere are humbled by your might.\",\n\t\"Do I see quivers of agony dance on your lip?\": \"It's laughter that's caused by your feathery grip.\"}\n}","funcProperties":{"__isSmartRef__":true,"id":2606},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2605":{"this":{"__isSmartRef__":true,"id":2045}},"2606":{"timestamp":{"__isSmartRef__":true,"id":2607},"user":"timfelgentreff","tags":[]},"2607":{"isSerializedDate":true,"string":"Fri May 04 2012 17:54:30 GMT+0200 (CEST)"},"2608":{"varMapping":{"__isSmartRef__":true,"id":2609},"source":"function randomQuestions(count) {\n if (!count) { count = 8 }\n\n var choices = [],\n questions = Properties.own(this.fightPhrases())\n\n for (var i = 0; i < count; i++) {\n var idx = Math.round(Math.random() * questions.length)\n choices.push(questions[idx])\n questions.removeAt(idx)\n }\n\n return choices\n}","funcProperties":{"__isSmartRef__":true,"id":2610},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2609":{"this":{"__isSmartRef__":true,"id":2045}},"2610":{"timestamp":{"__isSmartRef__":true,"id":2611},"user":"timfelgentreff","tags":[]},"2611":{"isSerializedDate":true,"string":"Fri May 04 2012 17:56:30 GMT+0200 (CEST)"},"2612":{"varMapping":{"__isSmartRef__":true,"id":2613},"source":"function randomAnswersFor(question, count) {\n if (!count) { count = 8 }\n\n var choices = [],\n phrases = this.fightPhrases(),\n answers = Properties.own(phrases).collect(function (q) {\n return phrases[q]\n })\n\n choices.push(phrases[question])\n answers.removeAt(Properties.own(phrases).indexOf(question))\n\n for (var i = 1; i < count; i++) {\n var idx = Math.round(Math.random() * answers.length)\n choices.push(answers[idx])\n answers.removeAt(idx)\n }\n\n return choices.sortBy(function (ea) { return Math.random() })\n}","funcProperties":{"__isSmartRef__":true,"id":2614},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2613":{"this":{"__isSmartRef__":true,"id":2045}},"2614":{"timestamp":{"__isSmartRef__":true,"id":2615},"user":"lauritz","tags":[]},"2615":{"isSerializedDate":true,"string":"Mon May 07 2012 19:18:12 GMT+0200 (CEST)"},"2616":{"varMapping":{"__isSmartRef__":true,"id":2617},"source":"function executeFightTurnAsking(asker, responder) {\n var menu = this.toolbox(\"FightMenu\"),\n talkTimeout = 4000,\n nextTurnCallback = function (answer, correctAnswer) {\n if (correctAnswer === answer) {\n // switch turns\n asker.executeFightTurnAsking(responder, asker)\n } else {\n responder.getHit()\n if (!responder.isDead()) {\n asker.executeFightTurnAsking(asker, responder)\n }\n }\n }\n\n // Check if the last looser is dead, first\n if (responder.isDead()) {\n responder.isBusy = false\n asker.isBusy = false\n asker.heal()\n asker.select()\n return\n }\n \n // Fight\n if (asker.character.isPlayer) {\n menu.setHeader(\"Choose your insult\")\n menu.setList(asker.randomQuestions(8), function (str) {\n menu.remove()\n asker.say(str)\n setTimeout(function () {\n // the npc has a 1/3 chance of answering right\n var response = responder.randomAnswersFor(str, 3)[Math.round(Math.random() * 2)],\n correctAnswer = responder.randomAnswersFor(str, 1)[0]\n responder.say(response)\n setTimeout(function () {\n nextTurnCallback(response, correctAnswer)\n }, talkTimeout)\n }, talkTimeout)\n })\n asker.map().addMorph(menu)\n menu.setPosition(pt(asker.map().getExtent().x / 2 - menu.getExtent().x / 2, 0))\n } else {\n var question = asker.randomQuestions(1)[0],\n answer = asker.randomAnswersFor(question)[0]\n asker.say(question)\n setTimeout(function () {\n menu.setHeader(\"What do you reply to '\" + question + \"'?\")\n menu.setList(responder.randomAnswersFor(question, 7), function (str) {\n menu.remove()\n responder.say(str)\n setTimeout(function () {\n nextTurnCallback(str, answer)\n }, talkTimeout)\n })\n asker.map().addMorph(menu)\n menu.setPosition(pt(asker.map().getExtent().x / 2 - menu.getExtent().x / 2, 0))\n }, talkTimeout)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2618},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2617":{"this":{"__isSmartRef__":true,"id":2045}},"2618":{"timestamp":{"__isSmartRef__":true,"id":2619},"user":"lauritz","tags":[]},"2619":{"isSerializedDate":true,"string":"Mon May 07 2012 11:47:46 GMT+0200 (CEST)"},"2620":{"varMapping":{"__isSmartRef__":true,"id":2621},"source":"function heal() {\n this.lifeBar.heal()\n}","funcProperties":{"__isSmartRef__":true,"id":2622},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2621":{"this":{"__isSmartRef__":true,"id":2045}},"2622":{"timestamp":{"__isSmartRef__":true,"id":2623},"user":"timfelgentreff","tags":[]},"2623":{"isSerializedDate":true,"string":"Sat May 05 2012 12:38:05 GMT+0200 (CEST)"},"2624":{"varMapping":{"__isSmartRef__":true,"id":2625},"source":"function isDead() {\n return this.lifeBar.isDead()\n}","funcProperties":{"__isSmartRef__":true,"id":2626},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2625":{"this":{"__isSmartRef__":true,"id":2045}},"2626":{"timestamp":{"__isSmartRef__":true,"id":2627},"user":"timfelgentreff","tags":[]},"2627":{"isSerializedDate":true,"string":"Sat May 05 2012 12:38:28 GMT+0200 (CEST)"},"2628":{"position":{"__isSmartRef__":true,"id":2629},"_Extent":{"__isSmartRef__":true,"id":2630},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2631},"_Fill":{"__isSmartRef__":true,"id":2632},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2633},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2634},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2629":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2630":{"x":111,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2631":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2632":{"r":1,"g":0.9725138476155526,"b":0.9773063049543793,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2633":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2634":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2635":{"x":12.82143803707595,"y":29.90148290770742,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2636":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"Map","changes":[{"__isSmartRef__":true,"id":2637},{"__isSmartRef__":true,"id":2639},{"__isSmartRef__":true,"id":2641},{"__isSmartRef__":true,"id":2643}],"revisionOnLoad":156095,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2637":{"date":{"__isSmartRef__":true,"id":2638},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2638":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2639":{"date":{"__isSmartRef__":true,"id":2640},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2640":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2641":{"date":{"__isSmartRef__":true,"id":2642},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2642":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2643":{"date":{"__isSmartRef__":true,"id":2644},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2644":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2645":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2646":{"morph":{"__isSmartRef__":true,"id":2044},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2647":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2648}},"2648":{"test01IsMorph":{"__isSmartRef__":true,"id":2649}},"2649":{"varMapping":{"__isSmartRef__":true,"id":2650},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2651},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2650":{"this":{"__isSmartRef__":true,"id":2647}},"2651":{},"2652":{"x":842.1288685311482,"y":-13.941405677732092,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2653":{"x":112,"y":86,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2654":{"mapTileSize":{"__isSmartRef__":true,"id":2655},"mapExtent":{"__isSmartRef__":true,"id":2659},"toolbox":{"__isSmartRef__":true,"id":2663},"setup":{"__isSmartRef__":true,"id":2667},"emptyMap":{"__isSmartRef__":true,"id":2671},"reset":{"__isSmartRef__":true,"id":2675},"setDevStyle":{"__isSmartRef__":true,"id":2679},"setNormalStyle":{"__isSmartRef__":true,"id":2683},"tileSize":{"__isSmartRef__":true,"id":2687},"getTileForPosition":{"__isSmartRef__":true,"id":2691},"setupTiles":{"__isSmartRef__":true,"id":2695},"setupUnits":{"__isSmartRef__":true,"id":2699},"setupThings":{"__isSmartRef__":true,"id":2703},"game":{"__isSmartRef__":true,"id":2707}},"2655":{"varMapping":{"__isSmartRef__":true,"id":2656},"source":"function mapTileSize() {\n return pt(26, 19)\n}","funcProperties":{"__isSmartRef__":true,"id":2657},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2656":{"this":{"__isSmartRef__":true,"id":2044}},"2657":{"timestamp":{"__isSmartRef__":true,"id":2658},"user":"tessi","tags":[]},"2658":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:38:39 GMT+0200 (CEST)"},"2659":{"varMapping":{"__isSmartRef__":true,"id":2660},"source":"function mapExtent() {\n return this.mapTileSize().scaleByPt(this.toolbox(\"Tile\").tileSize())\n}","funcProperties":{"__isSmartRef__":true,"id":2661},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2660":{"this":{"__isSmartRef__":true,"id":2044}},"2661":{"timestamp":{"__isSmartRef__":true,"id":2662},"user":"timfelgentreff","tags":[]},"2662":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:43:22 GMT+0200 (CEST)"},"2663":{"varMapping":{"__isSmartRef__":true,"id":2664},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":2665},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2664":{"this":{"__isSmartRef__":true,"id":2044}},"2665":{"timestamp":{"__isSmartRef__":true,"id":2666},"user":"tessi","tags":[]},"2666":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:08:47 GMT+0200 (CEST)"},"2667":{"varMapping":{"__isSmartRef__":true,"id":2668},"source":"function setup() {\n this.setExtent(this.mapExtent())\n\n this.setupTiles()\n try { this.setupUnits() } catch(e) { }\n try { this.setupThings() } catch(e) { }\n\n this.setNormalStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":2669},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2668":{"this":{"__isSmartRef__":true,"id":2044}},"2669":{"timestamp":{"__isSmartRef__":true,"id":2670},"user":"lauritz","tags":[]},"2670":{"isSerializedDate":true,"string":"Mon May 07 2012 19:00:50 GMT+0200 (CEST)"},"2671":{"varMapping":{"__isSmartRef__":true,"id":2672},"source":"function emptyMap() {\n this.removeAllMorphs()\n this.game().reset()\n this.tiles = null\n}","funcProperties":{"__isSmartRef__":true,"id":2673},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2672":{"this":{"__isSmartRef__":true,"id":2044}},"2673":{"timestamp":{"__isSmartRef__":true,"id":2674},"user":"tessi","tags":[]},"2674":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:07:01 GMT+0200 (CEST)"},"2675":{"varMapping":{"__isSmartRef__":true,"id":2676},"source":"function reset() {\n this.emptyMap()\n this.setup()\n}","funcProperties":{"__isSmartRef__":true,"id":2677},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2676":{"this":{"__isSmartRef__":true,"id":2044}},"2677":{"timestamp":{"__isSmartRef__":true,"id":2678},"user":"timfelgentreff","tags":[]},"2678":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:33:22 GMT+0200 (CEST)"},"2679":{"varMapping":{"__isSmartRef__":true,"id":2680},"source":"function setDevStyle() {\n this.submorphs.invoke(\"setDevStyle\")\n}","funcProperties":{"__isSmartRef__":true,"id":2681},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2680":{"this":{"__isSmartRef__":true,"id":2044}},"2681":{"timestamp":{"__isSmartRef__":true,"id":2682},"user":"tessi","tags":[]},"2682":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:31:57 GMT+0200 (CEST)"},"2683":{"varMapping":{"__isSmartRef__":true,"id":2684},"source":"function setNormalStyle() {\n this.submorphs.invoke(\"setNormalStyle\")\n}","funcProperties":{"__isSmartRef__":true,"id":2685},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2684":{"this":{"__isSmartRef__":true,"id":2044}},"2685":{"timestamp":{"__isSmartRef__":true,"id":2686},"user":"tessi","tags":[]},"2686":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:32:13 GMT+0200 (CEST)"},"2687":{"varMapping":{"__isSmartRef__":true,"id":2688},"source":"function tileSize() {\n return this.toolbox(\"Tile\").tileSize()\n}","funcProperties":{"__isSmartRef__":true,"id":2689},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2688":{"this":{"__isSmartRef__":true,"id":2044}},"2689":{"timestamp":{"__isSmartRef__":true,"id":2690},"user":"timfelgentreff","tags":[]},"2690":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:43:55 GMT+0200 (CEST)"},"2691":{"varMapping":{"__isSmartRef__":true,"id":2692},"source":"function getTileForPosition(point) {\n var column = Math.floor(point.x / this.tileSize().x),\n row = Math.floor(point.y / this.tileSize().y)\n\n return this.tiles[column][row]\n}","funcProperties":{"__isSmartRef__":true,"id":2693},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2692":{"this":{"__isSmartRef__":true,"id":2044}},"2693":{"timestamp":{"__isSmartRef__":true,"id":2694},"user":"timfelgentreff","tags":[]},"2694":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:04:22 GMT+0200 (CEST)"},"2695":{"varMapping":{"__isSmartRef__":true,"id":2696},"source":"function setupTiles() {\n this.tiles = []\n for(var column = 0; column < this.mapTileSize().x; column++) {\n this.tiles[column] = []\n }\n for(var row = 0; row < this.mapTileSize().y; row++) {\n for(var column = 0; column < this.mapTileSize().x; column++) {\n var currentTile = this.toolbox(\"Tile\")\n this.tiles[column][row] = currentTile\n currentTile.setGridPosition(column, row)\n currentTile.setNormalStyle()\n this.addMorph(currentTile)\n if (Math.random() < 0.04 ) {\n currentTile.become(\"FlowerGrassTile\")\n } else {\n currentTile.become(\"GrassTile\")\n }\n currentTile.disableGrabbing()\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2697},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2696":{"this":{"__isSmartRef__":true,"id":2044}},"2697":{"timestamp":{"__isSmartRef__":true,"id":2698},"user":"timfelgentreff","tags":[]},"2698":{"isSerializedDate":true,"string":"Fri May 04 2012 15:31:00 GMT+0200 (CEST)"},"2699":{"varMapping":{"__isSmartRef__":true,"id":2700},"source":"function setupUnits() {\n var numberOfUnits = Math.round(Math.random() * 5 + 5),\n xPosition, yPosition,\n maxX = this.mapTileSize().x - 4,\n maxY = this.mapTileSize().y - 4\n\n for (var x = 0; x <= numberOfUnits; x++) {\n xPosition = Math.round(Math.random() * maxX + 2)\n yPosition = Math.round(Math.random() * maxY + 2)\n var currentUnit = this.toolbox(\"Character\"),\n tile\n this.addMorph(currentUnit)\n currentUnit.setNormalStyle()\n tile = this.tiles[xPosition][yPosition]\n currentUnit.setPosition(tile.getPosition())\n tile.enterTile(currentUnit)\n x === 0 ? currentUnit.becomePlayer() : currentUnit.becomeRandomCharacter()\n currentUnit.animate()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2701},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2700":{"this":{"__isSmartRef__":true,"id":2044}},"2701":{"timestamp":{"__isSmartRef__":true,"id":2702},"user":"lauritz","tags":[]},"2702":{"isSerializedDate":true,"string":"Mon May 07 2012 11:34:12 GMT+0200 (CEST)"},"2703":{"varMapping":{"__isSmartRef__":true,"id":2704},"source":"function setupThings() {\n var numberOfThings = Math.round(Math.random() * 5 + 5),\n xPosition, yPosition,\n maxX = this.mapTileSize().x - 4,\n maxY = this.mapTileSize().y - 4\n\n for (var x = 0; x <= numberOfThings; x++) {\n xPosition = Math.round(Math.random() * maxX + 2)\n yPosition = Math.round(Math.random() * maxY + 2)\n var currentThing = this.toolbox(\"Thing\")\n currentThing.dropOn(this.tiles[xPosition][yPosition])\n currentThing.setNormalStyle()\n currentThing.becomeRandomThing()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2705},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2704":{"this":{"__isSmartRef__":true,"id":2044}},"2705":{"timestamp":{"__isSmartRef__":true,"id":2706},"user":"timfelgentreff","tags":[]},"2706":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:06:33 GMT+0200 (CEST)"},"2707":{"varMapping":{"__isSmartRef__":true,"id":2708},"source":"function game() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":2709},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2708":{"this":{"__isSmartRef__":true,"id":2044}},"2709":{"timestamp":{"__isSmartRef__":true,"id":2710},"user":"tessi","tags":[]},"2710":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:08:01 GMT+0200 (CEST)"},"2711":{"position":{"__isSmartRef__":true,"id":2712},"_Extent":{"__isSmartRef__":true,"id":2713},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2714},"_Fill":{"__isSmartRef__":true,"id":2715},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2716},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2717},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2712":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2713":{"x":152.42020864300957,"y":154.90489808792987,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2714":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2715":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2716":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2717":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2718":{"x":503.30124558109674,"y":230.21297052698978,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2719":{"partsSpaceName":"PartsBin/FreedomOfSpeech/","__SourceModuleName__":"Global.lively.PartsBin","comment":"The map and playing field","migrationLevel":4,"partName":"Game","changes":[{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2726},{"__isSmartRef__":true,"id":2728},{"__isSmartRef__":true,"id":2730},{"__isSmartRef__":true,"id":2732},{"__isSmartRef__":true,"id":2734},{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2738},{"__isSmartRef__":true,"id":2740},{"__isSmartRef__":true,"id":2742},{"__isSmartRef__":true,"id":2744},{"__isSmartRef__":true,"id":2746},{"__isSmartRef__":true,"id":2748},{"__isSmartRef__":true,"id":2750},{"__isSmartRef__":true,"id":2752},{"__isSmartRef__":true,"id":2754},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2758},{"__isSmartRef__":true,"id":2760},{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2764},{"__isSmartRef__":true,"id":2766},{"__isSmartRef__":true,"id":2768},{"__isSmartRef__":true,"id":2770},{"__isSmartRef__":true,"id":2772},{"__isSmartRef__":true,"id":2774},{"__isSmartRef__":true,"id":2776},{"__isSmartRef__":true,"id":2778},{"__isSmartRef__":true,"id":2780},{"__isSmartRef__":true,"id":2782}],"revisionOnLoad":159894,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2720":{"date":{"__isSmartRef__":true,"id":2721},"author":"lauritz","message":"normal-styled tiles at the beginning","id":"B7823FED-4B48-458E-9C42-0CE743ADCF93"},"2721":{"isSerializedDate":true,"string":"Mon May 07 2012 19:01:08 GMT+0200 (CEST)"},"2722":{"date":{"__isSmartRef__":true,"id":2723},"author":"timfelgentreff","message":"add a player","id":"D427AD7F-610C-4DB0-8783-DC6652015178"},"2723":{"isSerializedDate":true,"string":"Fri May 04 2012 17:41:04 GMT+0200 (CEST)"},"2724":{"date":{"__isSmartRef__":true,"id":2725},"author":"timfelgentreff","message":"fix for non-shallowCopy toolbox items","id":"A6B99BEA-DE24-4559-B954-13A0EBC1E1DF"},"2725":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:13:35 GMT+0200 (CEST)"},"2726":{"date":{"__isSmartRef__":true,"id":2727},"author":"timfelgentreff","message":"merge lauritz' changes","id":"51463A4E-AEC0-4BEC-AEFB-33478C31225F"},"2727":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:08:15 GMT+0200 (CEST)"},"2728":{"date":{"__isSmartRef__":true,"id":2729},"author":"timfelgentreff","message":"use shallowCopy for tiles","id":"D4325DFA-12D5-4A97-BAE7-F6B2A0430EA5"},"2729":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:54:36 GMT+0200 (CEST)"},"2730":{"date":{"__isSmartRef__":true,"id":2731},"author":"tessi","message":"map now generates some flower tiles too","id":"C1AFA3CF-CD73-432A-AC79-144C9B5D433B"},"2731":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:58:01 GMT+0200 (CEST)"},"2732":{"date":{"__isSmartRef__":true,"id":2733},"author":"timfelgentreff","message":"fix setup things","id":"5F7A588C-AB63-49EB-80E4-3083A569EBCD"},"2733":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:32:14 GMT+0200 (CEST)"},"2734":{"date":{"__isSmartRef__":true,"id":2735},"author":"timfelgentreff","message":"add generation of things","id":"87868D79-001D-4B0E-A435-649B4906FEF0"},"2735":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:20:14 GMT+0200 (CEST)"},"2736":{"date":{"__isSmartRef__":true,"id":2737},"author":"timfelgentreff","message":"add a method to get the names of part items ending with a particular string, minus that string.. can be used to get all characters, things or tiles","id":"65C4FFB1-1E22-4575-A6B7-11A226A7B0E5"},"2737":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:24:39 GMT+0200 (CEST)"},"2738":{"date":{"__isSmartRef__":true,"id":2739},"author":"timfelgentreff","message":"","id":"A0C26B2F-3323-421E-94FB-E5E6180AD81C"},"2739":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:37 GMT+0200 (CEST)"},"2740":{"date":{"__isSmartRef__":true,"id":2741},"author":"timfelgentreff","message":"","id":"10677F89-3177-4F33-9511-5BB0E21E2DEB"},"2741":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:11:07 GMT+0200 (CEST)"},"2742":{"date":{"__isSmartRef__":true,"id":2743},"author":"lauritz","message":"alias toolbox","id":"FECC8EA9-60A5-4B3B-A8C3-017FF0CEFE02"},"2743":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:16:41 GMT+0200 (CEST)"},"2744":{"date":{"__isSmartRef__":true,"id":2745},"author":"timfelgentreff","message":"","id":"AE4850E0-F8B8-442E-9A28-2388D0500FC1"},"2745":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:07:33 GMT+0200 (CEST)"},"2746":{"date":{"__isSmartRef__":true,"id":2747},"author":"timfelgentreff","message":"","id":"666459AF-F338-4900-A325-0A193313D463"},"2747":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:37:03 GMT+0200 (CEST)"},"2748":{"date":{"__isSmartRef__":true,"id":2749},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2749":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2750":{"date":{"__isSmartRef__":true,"id":2751},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2751":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2752":{"date":{"__isSmartRef__":true,"id":2753},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2753":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2754":{"date":{"__isSmartRef__":true,"id":2755},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2755":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2756":{"date":{"__isSmartRef__":true,"id":2757},"author":"timfelgentreff","message":"","id":"3DF6DA7F-0492-4EC2-B626-E65ED2F0CDF2"},"2757":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:07:30 GMT+0200 (CEST)"},"2758":{"date":{"__isSmartRef__":true,"id":2759},"author":"timfelgentreff","message":"","id":"DE3BE79D-EDA8-415F-9405-95CDD1774577"},"2759":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:14:52 GMT+0200 (CEST)"},"2760":{"date":{"__isSmartRef__":true,"id":2761},"author":"timfelgentreff","message":"","id":"AE514D08-62FA-410B-9287-72917FA6B563"},"2761":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:26:55 GMT+0200 (CEST)"},"2762":{"date":{"__isSmartRef__":true,"id":2763},"author":"timfelgentreff","message":"","id":"89954E3F-B4E1-49D9-9969-AB27CE0CBABD"},"2763":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:27:06 GMT+0200 (CEST)"},"2764":{"date":{"__isSmartRef__":true,"id":2765},"author":"timfelgentreff","message":"","id":"3B4FAF4F-0D7A-47F9-9247-47D6649688B6"},"2765":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:33:44 GMT+0200 (CEST)"},"2766":{"date":{"__isSmartRef__":true,"id":2767},"author":"timfelgentreff","message":"","id":"8A61D4CF-17A8-4B0E-AD01-3807E28FAD9E"},"2767":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:05:44 GMT+0200 (CEST)"},"2768":{"date":{"__isSmartRef__":true,"id":2769},"author":"tessi","message":"animate characters after they are placed on the map","id":"995FC3A0-7B17-472B-9796-435F68A99C41"},"2769":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:23:57 GMT+0200 (CEST)"},"2770":{"date":{"__isSmartRef__":true,"id":2771},"author":"tessi","message":"animate","id":"8E4CF411-945C-4251-8FDB-35D3225B7CB3"},"2771":{"isSerializedDate":true,"string":"Sat Apr 21 2012 13:28:07 GMT+0200 (CEST)"},"2772":{"date":{"__isSmartRef__":true,"id":2773},"author":"timfelgentreff","message":"catch errors during setup","id":"D1EAF47B-BBBB-493B-BB78-CFE149FB951F"},"2773":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:32:35 GMT+0200 (CEST)"},"2774":{"date":{"__isSmartRef__":true,"id":2775},"author":"timfelgentreff","message":"no comment","id":"5BD4709D-F345-48A8-B0A9-618209647AC0"},"2775":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:41:52 GMT+0200 (CEST)"},"2776":{"date":{"__isSmartRef__":true,"id":2777},"author":"tessi","message":"replace this.get(\"Game\") with this.game() calls","id":"4DD20E29-B711-4483-B963-CA6EEC46FFC1"},"2777":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:09:50 GMT+0200 (CEST)"},"2778":{"date":{"__isSmartRef__":true,"id":2779},"author":"timfelgentreff","message":"cache shallowCopy'able things","id":"645744AA-3EED-4686-99B2-ADEF3F3E34DC"},"2779":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:30:37 GMT+0200 (CEST)"},"2780":{"date":{"__isSmartRef__":true,"id":2781},"author":"timfelgentreff","message":"build tiles rows-first, to fix zIndex of things","id":"6A13BB1F-4974-4E80-8BD3-76B74371CC74"},"2781":{"isSerializedDate":true,"string":"Fri May 04 2012 15:31:50 GMT+0200 (CEST)"},"2782":{"date":{"__isSmartRef__":true,"id":2783},"author":"lauritz","message":"register characters at setup: let the fights begin!","id":"1CB8B3D0-A7FB-4673-8D71-D7FB4D423990"},"2783":{"isSerializedDate":true,"string":"Mon May 07 2012 11:37:01 GMT+0200 (CEST)"},"2784":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2785":{"morph":{"__isSmartRef__":true,"id":2043},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2786":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2787}},"2787":{"test01IsMorph":{"__isSmartRef__":true,"id":2788}},"2788":{"varMapping":{"__isSmartRef__":true,"id":2789},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2790},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2789":{"this":{"__isSmartRef__":true,"id":2786}},"2790":{},"2791":{"x":150.43217868297958,"y":151.9228531478849,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2792":{"x":108,"y":-11.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2793":{"Character":["Villagegirl","Scientist","Octocat","Ogre","Coder","Villager"],"Thing":["Fire","Stone","Woodstack","Tree","Parasol"]},"2794":{"Tile":{"__isSmartRef__":true,"id":2795}},"2795":{"submorphs":[],"scripts":[],"id":"2AF3552A-8AA9-4935-B5C3-725B93CBB885","shape":{"__isSmartRef__":true,"id":2796},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2802},"showsHalos":false,"name":"Tile","partsBinMetaInfo":{"__isSmartRef__":true,"id":2803},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2906},"eventHandler":{"__isSmartRef__":true,"id":2907},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","DF863BAB-9987-4611-BCD2-DE9FDCE7D3B5","768ED97D-1E05-415B-AB3F-B6495AC603A0","5A0ECA63-F6E2-4E35-B9A2-75DE2A4C4158","3B4EDC8A-0E99-4F45-A6D5-5CCE7E75BC88","1A900574-7D84-44F3-BB9D-1A1E26FDDB9B","383B3B54-4D0D-42E5-88C6-460045549029","EFC22A04-8B3C-48A8-9C5F-1EBC66DFD6D6","52D7E09F-EA1F-44D5-A893-F72A70D40429","CAC332B2-DA3A-4534-B3C7-E03D31DE9D2C","2CDD083E-3AB7-4BB9-B6D1-A70716226BDF","5044B03C-1B55-48CB-9DE6-3844ED1FCD7D","F5F5A304-DAA0-4649-9CDE-605226A1CE51","4BC91A43-D259-43A1-819C-B2FE6CB08399","92B467E3-3189-4EFE-9BFB-4AF361018F35","A6B1593D-21F4-49B7-ABC8-FB9FACE91746","2598E54C-7F59-4753-8889-AEFE09E2CAC0","179AF98E-33AB-4114-B55B-4DFB00BDBDA8","AD778DCD-FF13-4F2E-AB38-F63BA8A15C58","04E48596-4C98-445F-B60B-2348EF53930E","BB54A7B7-E7CB-41C0-B027-77AB7D9BF27E","8DFD2C9E-23E1-41AF-8968-A62A3DE71693","2D8830D3-1DB9-4797-9AE8-20CA03139825","BD54D555-6E94-48EB-8C62-8F80A32960EA","F46B080F-9459-4295-8DB2-BED5809251AE","6A43BDE1-6AC7-4008-9AD0-06385EE78307","C3AB7721-B23E-4DAB-BE9A-22733BC3382E","1E1907C1-2AD2-452E-BADD-54F706B3B910","50E5C852-3D41-4257-AFF7-7EF1CEEC15E3","12768283-E36A-48B6-AB18-6384D99ADA14","A4849D36-6340-4578-BAFB-53E4D17027D7","12E4C56B-9222-43E4-9620-C41E062EBAC7","0212C096-5FD3-45BB-BABB-E16293175AB7","73176B5A-836A-48B2-9003-38573BE53D84","FA828EF3-B4D3-4543-83BE-FA33CE63F260","CBD9C7C8-3FA1-47AE-9C23-CCC4E7C7ED3A"],"partTests":{"__isSmartRef__":true,"id":2908},"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":2913},"moved":true,"_ClipMode":"visible","__obstacles":[],"row":5,"column":1,"terrain":null,"grabbingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":2914},"prevScroll":[0,0],"_Rotation":0,"_Scale":1.0120783653693808,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2915},"__LivelyClassName__":"lively.morphic.Box"},"2796":{"position":{"__isSmartRef__":true,"id":2797},"_Extent":{"__isSmartRef__":true,"id":2798},"_BorderWidth":1.148,"_BorderColor":{"__isSmartRef__":true,"id":2799},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2800},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2801},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2797":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2798":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2799":{"r":0.8,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2800":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2801":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2802":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2803":{"partsSpaceName":"PartsBin/FreedomOfSpeech","__SourceModuleName__":"Global.lively.PartsBin","comment":"A thing that renders itself onto a tile and tells the occluded tiles about the obstacle","migrationLevel":4,"partName":"Tile","changes":[{"__isSmartRef__":true,"id":2804},{"__isSmartRef__":true,"id":2806},{"__isSmartRef__":true,"id":2808},{"__isSmartRef__":true,"id":2810},{"__isSmartRef__":true,"id":2812},{"__isSmartRef__":true,"id":2814},{"__isSmartRef__":true,"id":2816},{"__isSmartRef__":true,"id":2818},{"__isSmartRef__":true,"id":2820},{"__isSmartRef__":true,"id":2822},{"__isSmartRef__":true,"id":2824},{"__isSmartRef__":true,"id":2826},{"__isSmartRef__":true,"id":2828},{"__isSmartRef__":true,"id":2830},{"__isSmartRef__":true,"id":2832},{"__isSmartRef__":true,"id":2834},{"__isSmartRef__":true,"id":2836},{"__isSmartRef__":true,"id":2838},{"__isSmartRef__":true,"id":2840},{"__isSmartRef__":true,"id":2842},{"__isSmartRef__":true,"id":2844},{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":2848},{"__isSmartRef__":true,"id":2850},{"__isSmartRef__":true,"id":2852},{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2856},{"__isSmartRef__":true,"id":2858},{"__isSmartRef__":true,"id":2860},{"__isSmartRef__":true,"id":2862},{"__isSmartRef__":true,"id":2864},{"__isSmartRef__":true,"id":2866},{"__isSmartRef__":true,"id":2868},{"__isSmartRef__":true,"id":2870},{"__isSmartRef__":true,"id":2872},{"__isSmartRef__":true,"id":2874},{"__isSmartRef__":true,"id":2876},{"__isSmartRef__":true,"id":2878},{"__isSmartRef__":true,"id":2880},{"__isSmartRef__":true,"id":2882},{"__isSmartRef__":true,"id":2884},{"__isSmartRef__":true,"id":2886},{"__isSmartRef__":true,"id":2888},{"__isSmartRef__":true,"id":2890},{"__isSmartRef__":true,"id":2892},{"__isSmartRef__":true,"id":2894},{"__isSmartRef__":true,"id":2896},{"__isSmartRef__":true,"id":2898},{"__isSmartRef__":true,"id":2900},{"__isSmartRef__":true,"id":2902},{"__isSmartRef__":true,"id":2904}],"revisionOnLoad":159891,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2804":{"date":{"__isSmartRef__":true,"id":2805},"author":"lauritz","message":"difference between dev and normal style in border-width","id":"3001D4D8-C44F-49E0-8101-5726A7ACFD8F"},"2805":{"isSerializedDate":true,"string":"Mon May 07 2012 18:54:58 GMT+0200 (CEST)"},"2806":{"date":{"__isSmartRef__":true,"id":2807},"author":"tessi","message":"cannot set color to null","id":"A33818D9-5418-451A-86B6-17C0E01E3D95"},"2807":{"isSerializedDate":true,"string":"Thu May 03 2012 15:20:35 GMT+0200 (CEST)"},"2808":{"date":{"__isSmartRef__":true,"id":2809},"author":"timfelgentreff","message":"no comment","id":"3D7FD71F-6695-46ED-915B-DACB2BDD66EC"},"2809":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:17:11 GMT+0200 (CEST)"},"2810":{"date":{"__isSmartRef__":true,"id":2811},"author":"tessi","message":"","id":"CDFC653A-73C4-4FEF-BF2F-E515698C9D49"},"2811":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:40:27 GMT+0200 (CEST)"},"2812":{"date":{"__isSmartRef__":true,"id":2813},"author":"tessi","message":"cache Neighbours","id":"5AE79688-A888-4376-8A8F-63679330D24C"},"2813":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:34:19 GMT+0200 (CEST)"},"2814":{"date":{"__isSmartRef__":true,"id":2815},"author":"tessi","message":"let characters register themself when enter/leave the tile","id":"9095AE1D-1FE5-44A4-9A4E-C9C39B1C4F40"},"2815":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:33:48 GMT+0200 (CEST)"},"2816":{"date":{"__isSmartRef__":true,"id":2817},"author":"timfelgentreff","message":"Use a cache and shallow copying for become(terrain); fix onMouseDown when not in a Map","id":"9846F542-FBA4-4E6E-95E7-760FEC0B1848"},"2817":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:12:58 GMT+0200 (CEST)"},"2818":{"date":{"__isSmartRef__":true,"id":2819},"author":"lauritz","message":"","id":"AC05F3B3-162F-4A75-A601-EA5F744AC530"},"2819":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:25:17 GMT+0200 (CEST)"},"2820":{"date":{"__isSmartRef__":true,"id":2821},"author":"timfelgentreff","message":"revert last commit","id":"DEE21763-B63C-41AF-917B-4481E54000AF"},"2821":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:53:55 GMT+0200 (CEST)"},"2822":{"date":{"__isSmartRef__":true,"id":2823},"author":"timfelgentreff","message":"uncomment return","id":"21656693-2A83-4D04-9612-55622B41EB18"},"2823":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:46:38 GMT+0200 (CEST)"},"2824":{"date":{"__isSmartRef__":true,"id":2825},"author":"timfelgentreff","message":"fix shallowCopy","id":"5DDF2C7F-DEE5-4161-A515-B5831A00DCB3"},"2825":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:13:27 GMT+0200 (CEST)"},"2826":{"date":{"__isSmartRef__":true,"id":2827},"author":"timfelgentreff","message":"add shallowCopy","id":"86DCAE73-A5D2-470F-BF0E-77E914236CEA"},"2827":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:10:22 GMT+0200 (CEST)"},"2828":{"date":{"__isSmartRef__":true,"id":2829},"author":"timfelgentreff","message":"no comment","id":"181F2453-F14A-4CC7-BFF0-910480CD4B1F"},"2829":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:39:23 GMT+0200 (CEST)"},"2830":{"date":{"__isSmartRef__":true,"id":2831},"author":"timfelgentreff","message":"show obstacle state in dev style","id":"9FD0FE89-0EE1-4499-B055-D2C077CCEACA"},"2831":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:37:34 GMT+0200 (CEST)"},"2832":{"date":{"__isSmartRef__":true,"id":2833},"author":"timfelgentreff","message":"no comment","id":"4571845C-4F67-4DD6-954F-B93B98F8DDF3"},"2833":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:35:25 GMT+0200 (CEST)"},"2834":{"date":{"__isSmartRef__":true,"id":2835},"author":"timfelgentreff","message":"fix adding obstacles","id":"891954C6-3DC3-41AC-8038-4E7C028B0147"},"2835":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:50:37 GMT+0200 (CEST)"},"2836":{"date":{"__isSmartRef__":true,"id":2837},"author":"timfelgentreff","message":"things support","id":"DD13E7D3-6948-4B69-947A-24A2B084646B"},"2837":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:31:58 GMT+0200 (CEST)"},"2838":{"date":{"__isSmartRef__":true,"id":2839},"author":"timfelgentreff","message":"change obstacle logic, adds support for a list of obstacles. obstacles can be added and removed","id":"0EF07087-0018-425F-AB43-3F843AFCB7E1"},"2839":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:16:14 GMT+0200 (CEST)"},"2840":{"date":{"__isSmartRef__":true,"id":2841},"author":"timfelgentreff","message":"a thing that renders itself onto a tile and tells the occluded tiles about the obstacle","id":"ADB36180-974D-4994-9149-6318E7F62D62"},"2841":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:29:15 GMT+0200 (CEST)"},"2842":{"date":{"__isSmartRef__":true,"id":2843},"author":"timfelgentreff","message":"","id":"712D65D3-A68A-47B9-AFDC-B20E826217DB"},"2843":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:00:26 GMT+0200 (CEST)"},"2844":{"date":{"__isSmartRef__":true,"id":2845},"author":"timfelgentreff","message":"","id":"DF45FC66-1C49-447D-914F-A905DA0AECB2"},"2845":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:47 GMT+0200 (CEST)"},"2846":{"date":{"__isSmartRef__":true,"id":2847},"author":"timfelgentreff","message":"","id":"6D9186F6-64FC-48E0-95AF-27E462A13E1D"},"2847":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:55:04 GMT+0200 (CEST)"},"2848":{"date":{"__isSmartRef__":true,"id":2849},"author":"timfelgentreff","message":"","id":"24121E2C-3B59-48EF-8026-290C8D296496"},"2849":{"isSerializedDate":true,"string":"Thu Apr 19 2012 16:02:53 GMT+0200 (CEST)"},"2850":{"date":{"__isSmartRef__":true,"id":2851},"author":"timfelgentreff","message":"","id":"F4CC9F23-A50B-4206-A549-A610CC9C69AC"},"2851":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:11:38 GMT+0200 (CEST)"},"2852":{"date":{"__isSmartRef__":true,"id":2853},"author":"timfelgentreff","message":"","id":"563A8831-9CE6-49D1-B87D-453B761FB751"},"2853":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:53 GMT+0200 (CEST)"},"2854":{"date":{"__isSmartRef__":true,"id":2855},"author":"timfelgentreff","message":"","id":"E1AA7A8A-D3C5-4263-9A1E-91C13F532ED6"},"2855":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:23:55 GMT+0200 (CEST)"},"2856":{"date":{"__isSmartRef__":true,"id":2857},"author":"timfelgentreff","message":"","id":"0672C6C8-D032-495B-B9EE-E41F194C86DE"},"2857":{"isSerializedDate":true,"string":"Thu Apr 19 2012 12:19:15 GMT+0200 (CEST)"},"2858":{"date":{"__isSmartRef__":true,"id":2859},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"2859":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2860":{"date":{"__isSmartRef__":true,"id":2861},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"2861":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2862":{"date":{"__isSmartRef__":true,"id":2863},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"2863":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2864":{"date":{"__isSmartRef__":true,"id":2865},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"2865":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2866":{"date":{"__isSmartRef__":true,"id":2867},"author":"timfelgentreff","message":"","id":"DE0AC226-458D-416E-A42C-BAA848650C4C"},"2867":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:28:14 GMT+0200 (CEST)"},"2868":{"date":{"__isSmartRef__":true,"id":2869},"author":"lauritz","message":"","id":"CFD35308-806E-4804-8706-15DA1CEC5743"},"2869":{"isSerializedDate":true,"string":"Thu Apr 19 2012 15:49:16 GMT+0200 (CEST)"},"2870":{"date":{"__isSmartRef__":true,"id":2871},"author":"timfelgentreff","message":"","id":"18365ED6-1BC8-43AD-ADC8-2B0C8005B784"},"2871":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:23:38 GMT+0200 (CEST)"},"2872":{"date":{"__isSmartRef__":true,"id":2873},"author":"timfelgentreff","message":"","id":"4978F7BB-7FF5-47C1-8A55-6CAB03479B28"},"2873":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:41:12 GMT+0200 (CEST)"},"2874":{"date":{"__isSmartRef__":true,"id":2875},"author":"timfelgentreff","message":"","id":"07EE540F-D786-49CC-8DD0-56F6B3AC6716"},"2875":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:43:41 GMT+0200 (CEST)"},"2876":{"date":{"__isSmartRef__":true,"id":2877},"author":"timfelgentreff","message":"","id":"B5D9BC0C-15F0-4AE7-884B-48515F6A030E"},"2877":{"isSerializedDate":true,"string":"Thu Apr 19 2012 18:08:19 GMT+0200 (CEST)"},"2878":{"date":{"__isSmartRef__":true,"id":2879},"author":"timfelgentreff","message":"","id":"F01F7BC6-E59F-4B63-8A3D-10C3AC3E34FD"},"2879":{"isSerializedDate":true,"string":"Fri Apr 20 2012 08:22:08 GMT+0200 (CEST)"},"2880":{"date":{"__isSmartRef__":true,"id":2881},"author":"tessi","message":"revert timfels last commit (tile was overwritten with thing)","id":"27A8A743-D064-44C6-948E-8E3D5118790D"},"2881":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:34:17 GMT+0200 (CEST)"},"2882":{"date":{"__isSmartRef__":true,"id":2883},"author":"timfelgentreff","message":"no comment","id":"6BBA00B9-6D11-4D9D-B6E9-95FE7CC915CD"},"2883":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:20:14 GMT+0200 (CEST)"},"2884":{"date":{"__isSmartRef__":true,"id":2885},"author":"timfelgentreff","message":"no comment","id":"957E9210-4394-452A-9291-BD0E8FA736BF"},"2885":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:28:00 GMT+0200 (CEST)"},"2886":{"date":{"__isSmartRef__":true,"id":2887},"author":"tessi","message":"added reset() method. use game() and map() instead of get() calls","id":"5B2AF6B7-3DC9-4EE1-A616-6510338BA091"},"2887":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:18:16 GMT+0200 (CEST)"},"2888":{"date":{"__isSmartRef__":true,"id":2889},"author":"timfelgentreff","message":"avoid setting props in shallowCopy","id":"0102BAF0-8471-4805-98CB-FFA285A96B15"},"2889":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:45:14 GMT+0200 (CEST)"},"2890":{"date":{"__isSmartRef__":true,"id":2891},"author":"timfelgentreff","message":"copy properties,too, so we can publish","id":"409A8B29-1CB7-4C30-B420-7F0FEB4489EA"},"2891":{"isSerializedDate":true,"string":"Wed Apr 25 2012 16:48:47 GMT+0200 (CEST)"},"2892":{"date":{"__isSmartRef__":true,"id":2893},"author":"tessi","message":"added stub method for getting characters standing on the tile","id":"2DD011DC-7ABF-4928-A2EE-FDA603BCB307"},"2893":{"isSerializedDate":true,"string":"Thu Apr 26 2012 11:22:23 GMT+0200 (CEST)"},"2894":{"date":{"__isSmartRef__":true,"id":2895},"author":"lauritz","message":"no comment","id":"2A0ACEC2-2DDA-4061-9ECE-8D49CCD6C0A0"},"2895":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:00:07 GMT+0200 (CEST)"},"2896":{"date":{"__isSmartRef__":true,"id":2897},"author":"timfelgentreff","message":"revert caching","id":"03257D32-EA99-4EA6-8CFA-D6C55E6A4D96"},"2897":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:20:05 GMT+0200 (CEST)"},"2898":{"date":{"__isSmartRef__":true,"id":2899},"author":"tessi","message":"fix neighbours calculation","id":"F2AE41B4-A670-4277-B7F3-5BCC20D74ECE"},"2899":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:55:48 GMT+0200 (CEST)"},"2900":{"date":{"__isSmartRef__":true,"id":2901},"author":"timfelgentreff","message":"add a neighboursReachableFromHere function, so we can return only neighbours that are reachable to A*","id":"646448AF-6B6F-4D4E-900B-2DC7B927ACE8"},"2901":{"isSerializedDate":true,"string":"Thu May 03 2012 13:29:50 GMT+0200 (CEST)"},"2902":{"date":{"__isSmartRef__":true,"id":2903},"author":"tessi","message":"normal border color is transparent","id":"94D5AA98-D1D9-4C6F-BED3-828305C3F390"},"2903":{"isSerializedDate":true,"string":"Thu May 03 2012 15:25:32 GMT+0200 (CEST)"},"2904":{"date":{"__isSmartRef__":true,"id":2905},"author":"tessi","message":"no comment","id":"928E1DC4-09B5-46D7-A245-48E332175C68"},"2905":{"isSerializedDate":true,"string":"Fri May 04 2012 17:01:42 GMT+0200 (CEST)"},"2906":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2907":{"morph":{"__isSmartRef__":true,"id":2795},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2908":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2909}},"2909":{"test01IsMorph":{"__isSmartRef__":true,"id":2910}},"2910":{"varMapping":{"__isSmartRef__":true,"id":2911},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2912},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2911":{"this":{"__isSmartRef__":true,"id":2908}},"2912":{},"2913":{"x":48,"y":48,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2914":{"x":61,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2915":{"setDevStyle":{"__isSmartRef__":true,"id":2916},"setNormalStyle":{"__isSmartRef__":true,"id":2920},"tileSize":{"__isSmartRef__":true,"id":2924},"become":{"__isSmartRef__":true,"id":2928},"onMouseDown":{"__isSmartRef__":true,"id":2932},"setGridPosition":{"__isSmartRef__":true,"id":2940},"toolbox":{"__isSmartRef__":true,"id":2944},"distanceTo":{"__isSmartRef__":true,"id":2948},"tileWasDropped":{"__isSmartRef__":true,"id":2952},"isObstacle":{"__isSmartRef__":true,"id":2956},"neighboursInDirection":{"__isSmartRef__":true,"id":2960},"neighbours":{"__isSmartRef__":true,"id":2964},"zIndex":{"__isSmartRef__":true,"id":2968},"obstacles":{"__isSmartRef__":true,"id":2972},"addObstacle":{"__isSmartRef__":true,"id":2976},"removeObstacle":{"__isSmartRef__":true,"id":2980},"isTile":{"__isSmartRef__":true,"id":2984},"neighbourAt":{"__isSmartRef__":true,"id":2988},"map":{"__isSmartRef__":true,"id":2992},"game":{"__isSmartRef__":true,"id":2996},"reset":{"__isSmartRef__":true,"id":3000},"shallowCopy":{"__isSmartRef__":true,"id":3004},"characters":{"__isSmartRef__":true,"id":3008},"enterTile":{"__isSmartRef__":true,"id":3012},"leaveTile":{"__isSmartRef__":true,"id":3016},"neighboursReachableFromHere":{"__isSmartRef__":true,"id":3020}},"2916":{"varMapping":{"__isSmartRef__":true,"id":2917},"source":"function setDevStyle() {\n this.setExtent(this.tileSize())\n this.setFill(null)\n this.setBorderWidth(1)\n if (this.isObstacle()) {\n this.shape.setOpacity(0.8)\n this.shape.setBorderColor(Color.gray)\n } else {\n this.setBorderColor(Color.red)\n }\n this.submorphs.each(function (ea) {\n if (ea.setDevStyle) ea.setDevStyle()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2918},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2917":{"this":{"__isSmartRef__":true,"id":2795}},"2918":{"timestamp":{"__isSmartRef__":true,"id":2919},"user":"lauritz","tags":[]},"2919":{"isSerializedDate":true,"string":"Mon May 07 2012 18:57:47 GMT+0200 (CEST)"},"2920":{"varMapping":{"__isSmartRef__":true,"id":2921},"source":"function setNormalStyle() {\n this.setFill(null)\n this.setBorderWidth(0)\n this.setOpacity(1)\n this.submorphs.each(function (ea) {\n if (ea.setNormalStyle) ea.setNormalStyle()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2922},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2921":{"this":{"__isSmartRef__":true,"id":2795}},"2922":{"timestamp":{"__isSmartRef__":true,"id":2923},"user":"lauritz","tags":[]},"2923":{"isSerializedDate":true,"string":"Mon May 07 2012 18:58:21 GMT+0200 (CEST)"},"2924":{"varMapping":{"__isSmartRef__":true,"id":2925},"source":"function tileSize() {\n return pt(48,48)\n}","funcProperties":{"__isSmartRef__":true,"id":2926},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2925":{"this":{"__isSmartRef__":true,"id":2795}},"2926":{"timestamp":{"__isSmartRef__":true,"id":2927},"user":"tessi","tags":[]},"2927":{"isSerializedDate":true,"string":"Wed Apr 18 2012 17:04:53 GMT+0200 (CEST)"},"2928":{"varMapping":{"__isSmartRef__":true,"id":2929},"source":"function become(terrainName) {\n var terrain = this.toolbox(terrainName)\n\n if (terrain) {\n if (this.terrain) {\n this.terrain.remove();\n }\n this.terrain = terrain;\n terrain.setExtent(this.tileSize())\n terrain.setPosition(pt(0,0))\n terrain.disableDropping();\n terrain.disableGrabbing();\n terrain.disableDragging();\n terrain.ignoreEvents();\n this.addMorph(terrain)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2930},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2929":{"this":{"__isSmartRef__":true,"id":2795}},"2930":{"timestamp":{"__isSmartRef__":true,"id":2931},"user":"lauritz","tags":[]},"2931":{"isSerializedDate":true,"string":"Fri May 04 2012 13:31:11 GMT+0200 (CEST)"},"2932":{"varMapping":{"__isSmartRef__":true,"id":2933},"source":"function onMouseDown(evt) {\n if (evt.isLeftMouseButtonDown() && this.map().game && this.game().selectedUnit) {\n this.game().selectedUnit.walkTo(this)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2938},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2933":{"this":{"__isSmartRef__":true,"id":2795},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2934}},"2934":{"$super":{"__isSmartRef__":true,"id":2935}},"2935":{"varMapping":{"__isSmartRef__":true,"id":2936},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2937},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2936":{"obj":{"__isSmartRef__":true,"id":2795},"name":"onMouseDown"},"2937":{},"2938":{"timestamp":{"__isSmartRef__":true,"id":2939},"user":"timfelgentreff","tags":[]},"2939":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:12:14 GMT+0200 (CEST)"},"2940":{"varMapping":{"__isSmartRef__":true,"id":2941},"source":"function setGridPosition(column, row) {\n this.row = row\n this.column = column\n this.setPosition(pt(column,row).scaleByPt(this.tileSize()))\n}","funcProperties":{"__isSmartRef__":true,"id":2942},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2941":{"this":{"__isSmartRef__":true,"id":2795}},"2942":{"timestamp":{"__isSmartRef__":true,"id":2943},"user":"timfelgentreff","tags":[]},"2943":{"isSerializedDate":true,"string":"Thu Apr 19 2012 11:23:15 GMT+0200 (CEST)"},"2944":{"varMapping":{"__isSmartRef__":true,"id":2945},"source":"function toolbox(itemName) {\n return this.game().toolbox(itemName)\n}","funcProperties":{"__isSmartRef__":true,"id":2946},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2945":{"this":{"__isSmartRef__":true,"id":2795}},"2946":{"timestamp":{"__isSmartRef__":true,"id":2947},"user":"tessi","tags":[]},"2947":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:15:20 GMT+0200 (CEST)"},"2948":{"varMapping":{"__isSmartRef__":true,"id":2949},"source":"function distanceTo(tile) {\n return pt(tile.column - this.column, tile.row - this.row)\n}","funcProperties":{"__isSmartRef__":true,"id":2950},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2949":{"this":{"__isSmartRef__":true,"id":2795}},"2950":{"timestamp":{"__isSmartRef__":true,"id":2951},"user":"timfelgentreff","tags":[]},"2951":{"isSerializedDate":true,"string":"Thu Apr 19 2012 13:12:02 GMT+0200 (CEST)"},"2952":{"varMapping":{"__isSmartRef__":true,"id":2953},"source":"function tileWasDropped(aTile) {\n this.become(aTile);\n}","funcProperties":{"__isSmartRef__":true,"id":2954},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2953":{"this":{"__isSmartRef__":true,"id":2795}},"2954":{"timestamp":{"__isSmartRef__":true,"id":2955},"user":"lauritz","tags":[]},"2955":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:52:54 GMT+0200 (CEST)"},"2956":{"varMapping":{"__isSmartRef__":true,"id":2957},"source":"function isObstacle() {\n return (this.terrain && this.terrain.isObstacle) || (this.obstacles().size() > 0)\n}","funcProperties":{"__isSmartRef__":true,"id":2958},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2957":{"this":{"__isSmartRef__":true,"id":2795}},"2958":{"timestamp":{"__isSmartRef__":true,"id":2959},"user":"timfelgentreff","tags":[]},"2959":{"isSerializedDate":true,"string":"Mon Apr 23 2012 15:19:43 GMT+0200 (CEST)"},"2960":{"varMapping":{"__isSmartRef__":true,"id":2961},"source":"function neighboursInDirection(point) {\n var that = this;\n return [this.map().tiles[this.column + point.x][this.row],\n this.map().tiles[this.column + point.x][this.row + point.y],\n this.map().tiles[this.column][this.row + point.y]\n ].reject(function (each) { return each === that || !each }).uniq()\n}","funcProperties":{"__isSmartRef__":true,"id":2962},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2961":{"this":{"__isSmartRef__":true,"id":2795}},"2962":{"timestamp":{"__isSmartRef__":true,"id":2963},"user":"tessi","tags":[]},"2963":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:13:24 GMT+0200 (CEST)"},"2964":{"varMapping":{"__isSmartRef__":true,"id":2965},"source":"function neighbours() {\n if (this.cachedNeightbours) { return this.cachedNeightbours }\n this.cachedNeightbours = []\n var tile = null;\n for(var i = this.row - 1; i <= this.row + 1; i++) {\n for(var j = this.column - 1; j <= this.column + 1; j++) {\n column = this.map().tiles[j]\n if (column) {\n tile = column[i]\n if (tile && tile !== this) {\n this.cachedNeightbours.push(tile)\n }\n }\n }\n }\n return this.cachedNeightbours\n}","funcProperties":{"__isSmartRef__":true,"id":2966},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2965":{"this":{"__isSmartRef__":true,"id":2795}},"2966":{"timestamp":{"__isSmartRef__":true,"id":2967},"user":"tessi","tags":[]},"2967":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:55:34 GMT+0200 (CEST)"},"2968":{"varMapping":{"__isSmartRef__":true,"id":2969},"source":"function zIndex() {\n return this.renderContext().morphNode.style.zIndex\n}","funcProperties":{"__isSmartRef__":true,"id":2970},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2969":{"this":{"__isSmartRef__":true,"id":2795}},"2970":{"timestamp":{"__isSmartRef__":true,"id":2971},"user":"timfelgentreff","tags":[]},"2971":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:54:56 GMT+0200 (CEST)"},"2972":{"varMapping":{"__isSmartRef__":true,"id":2973},"source":"function obstacles() {\n if (!this[\"__obstacles\"]) this[\"__obstacles\"] = []\n return this[\"__obstacles\"]\n}","funcProperties":{"__isSmartRef__":true,"id":2974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2973":{"this":{"__isSmartRef__":true,"id":2795}},"2974":{"timestamp":{"__isSmartRef__":true,"id":2975},"user":"timfelgentreff","tags":[]},"2975":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:53:52 GMT+0200 (CEST)"},"2976":{"varMapping":{"__isSmartRef__":true,"id":2977},"source":"function addObstacle(thing) {\n if (!this.obstacles().member(thing)) {\n this.obstacles().push(thing)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2978},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2977":{"this":{"__isSmartRef__":true,"id":2795}},"2978":{"timestamp":{"__isSmartRef__":true,"id":2979},"user":"timfelgentreff","tags":[]},"2979":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:50:17 GMT+0200 (CEST)"},"2980":{"varMapping":{"__isSmartRef__":true,"id":2981},"source":"function removeObstacle(thing) {\n var idx = this.obstacles().indexOf(thing)\n if (idx >= 0) {\n this.obstacles().removeAt(idx)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2982},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2981":{"this":{"__isSmartRef__":true,"id":2795}},"2982":{"timestamp":{"__isSmartRef__":true,"id":2983},"user":"timfelgentreff","tags":[]},"2983":{"isSerializedDate":true,"string":"Mon Apr 23 2012 13:54:03 GMT+0200 (CEST)"},"2984":{"varMapping":{"__isSmartRef__":true,"id":2985},"source":"function isTile() {\n return true\n}","funcProperties":{"__isSmartRef__":true,"id":2986},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2985":{"this":{"__isSmartRef__":true,"id":2795}},"2986":{"timestamp":{"__isSmartRef__":true,"id":2987},"user":"timfelgentreff","tags":[]},"2987":{"isSerializedDate":true,"string":"Mon Apr 23 2012 14:09:57 GMT+0200 (CEST)"},"2988":{"varMapping":{"__isSmartRef__":true,"id":2989},"source":"function neighbourAt(point) {\n var column = this.map().tiles[this.column + point.x]\n if (column) {\n return column[this.row + point.y]\n }\n return null\n}","funcProperties":{"__isSmartRef__":true,"id":2990},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2989":{"this":{"__isSmartRef__":true,"id":2795}},"2990":{"timestamp":{"__isSmartRef__":true,"id":2991},"user":"tessi","tags":[]},"2991":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:11:55 GMT+0200 (CEST)"},"2992":{"varMapping":{"__isSmartRef__":true,"id":2993},"source":"function map() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":2994},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2993":{"this":{"__isSmartRef__":true,"id":2795}},"2994":{"timestamp":{"__isSmartRef__":true,"id":2995},"user":"tessi","tags":[]},"2995":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:11:37 GMT+0200 (CEST)"},"2996":{"varMapping":{"__isSmartRef__":true,"id":2997},"source":"function game() {\n return this.map().game()\n}","funcProperties":{"__isSmartRef__":true,"id":2998},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2997":{"this":{"__isSmartRef__":true,"id":2795}},"2998":{"timestamp":{"__isSmartRef__":true,"id":2999},"user":"tessi","tags":[]},"2999":{"isSerializedDate":true,"string":"Wed Apr 25 2012 12:13:57 GMT+0200 (CEST)"},"3000":{"varMapping":{"__isSmartRef__":true,"id":3001},"source":"function reset() {\n this.terrain = null\n this.charactersStandingHere = this.cachedNeightbours = undefined\n this.submorphs.invoke(\"remove\")\n this.setDevStyle()\n}","funcProperties":{"__isSmartRef__":true,"id":3002},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3001":{"this":{"__isSmartRef__":true,"id":2795}},"3002":{"timestamp":{"__isSmartRef__":true,"id":3003},"user":"tessi","tags":[]},"3003":{"isSerializedDate":true,"string":"Thu Apr 26 2012 13:34:06 GMT+0200 (CEST)"},"3004":{"varMapping":{"__isSmartRef__":true,"id":3005},"source":"function shallowCopy() {\n var copy = Morph.makeRectangle(this.bounds()),\n that = this\n Functions.own(this).each(function (ea) {\n copy[ea] = that[ea].asScriptOf(copy, ea)\n })\n \n // also shallow-copy partsBinMetaInfo \n if (this.partsBinMetaInfo) {\n copy.partsBinMetaInfo = this.partsBinMetaInfo\n }\n\n // Not needed, we're not using properties on tiles\n // Properties.own(this).each(function (ea) {\n // copy[ea] = that[ea]\n // })\n // ea.findAndSetUniqueName()\n return copy\n}","funcProperties":{"__isSmartRef__":true,"id":3006},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3005":{"this":{"__isSmartRef__":true,"id":2795}},"3006":{"timestamp":{"__isSmartRef__":true,"id":3007},"user":"timfelgentreff","tags":[]},"3007":{"isSerializedDate":true,"string":"Thu Apr 26 2012 15:17:04 GMT+0200 (CEST)"},"3008":{"varMapping":{"__isSmartRef__":true,"id":3009},"source":"function characters(newCharacters /* omit parameter if you want this to be a getter */) {\n if ( !this.charactersStandingHere || newCharacters ) {\n this.charactersStandingHere = newCharacters || []\n }\n return this.charactersStandingHere\n}","funcProperties":{"__isSmartRef__":true,"id":3010},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3009":{"this":{"__isSmartRef__":true,"id":2795}},"3010":{"timestamp":{"__isSmartRef__":true,"id":3011},"user":"tessi","tags":[]},"3011":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:31:13 GMT+0200 (CEST)"},"3012":{"varMapping":{"__isSmartRef__":true,"id":3013},"source":"function enterTile(character) {\n if (!this.characters().include(character)) {\n this.characters().push(character)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3014},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3013":{"this":{"__isSmartRef__":true,"id":2795}},"3014":{"timestamp":{"__isSmartRef__":true,"id":3015},"user":"tessi","tags":[]},"3015":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:25:25 GMT+0200 (CEST)"},"3016":{"varMapping":{"__isSmartRef__":true,"id":3017},"source":"function leaveTile(character) {\n if (this.characters().include(character)) {\n this.characters(this.characters().without(character))\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3018},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3017":{"this":{"__isSmartRef__":true,"id":2795}},"3018":{"timestamp":{"__isSmartRef__":true,"id":3019},"user":"tessi","tags":[]},"3019":{"isSerializedDate":true,"string":"Thu Apr 26 2012 12:28:36 GMT+0200 (CEST)"},"3020":{"varMapping":{"__isSmartRef__":true,"id":3021},"source":"function neighboursReachableFromHere() {\n var that = this;\n return this.neighbours().select(function (tile) {\n return that.neighboursInDirection(that.distanceTo(tile)).all(function (n) {\n return !n.isObstacle()\n })\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3022},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3021":{"this":{"__isSmartRef__":true,"id":2795}},"3022":{"timestamp":{"__isSmartRef__":true,"id":3023},"user":"timfelgentreff","tags":[]},"3023":{"isSerializedDate":true,"string":"Thu May 03 2012 13:28:31 GMT+0200 (CEST)"},"3024":{"loadPartItem":{"__isSmartRef__":true,"id":3025},"getPartsBinCategory":{"__isSmartRef__":true,"id":3029},"toolbox":{"__isSmartRef__":true,"id":3033},"reset":{"__isSmartRef__":true,"id":3037},"zIndexForTiles":{"__isSmartRef__":true,"id":3041},"zIndexForThings":{"__isSmartRef__":true,"id":3045},"partNamesEndingWith":{"__isSmartRef__":true,"id":3049}},"3025":{"varMapping":{"__isSmartRef__":true,"id":3026},"source":"function loadPartItem(partName) {\n if (!this.partItemCache) this.partItemCache = {}\n\n var shallowCopyableItem = this.partItemCache[partName]\n if (shallowCopyableItem) {\n return shallowCopyableItem.shallowCopy()\n } else {\n var newItem = $world.loadPartItem(partName, 'PartsBin/' + this.getPartsBinCategory())\n if (typeof newItem.shallowCopy == \"function\") {\n this.partItemCache[partName] = newItem\n return newItem.shallowCopy()\n } else {\n return newItem\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3027},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3026":{"this":{"__isSmartRef__":true,"id":2043}},"3027":{"timestamp":{"__isSmartRef__":true,"id":3028},"user":"timfelgentreff","tags":[]},"3028":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:12:51 GMT+0200 (CEST)"},"3029":{"varMapping":{"__isSmartRef__":true,"id":3030},"source":"function getPartsBinCategory() {\n return 'FreedomOfSpeech';\n}","funcProperties":{"__isSmartRef__":true,"id":3031},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3030":{"this":{"__isSmartRef__":true,"id":2043}},"3031":{"timestamp":{"__isSmartRef__":true,"id":3032},"user":"lauritz","tags":[]},"3032":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:09:26 GMT+0200 (CEST)"},"3033":{"varMapping":{"__isSmartRef__":true,"id":3034},"source":"function toolbox(partName) {\n return this.loadPartItem(partName);\n}","funcProperties":{"__isSmartRef__":true,"id":3035},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3034":{"this":{"__isSmartRef__":true,"id":2043}},"3035":{"timestamp":{"__isSmartRef__":true,"id":3036},"user":"lauritz","tags":[]},"3036":{"isSerializedDate":true,"string":"Thu Apr 19 2012 14:15:49 GMT+0200 (CEST)"},"3037":{"varMapping":{"__isSmartRef__":true,"id":3038},"source":"function reset() {\n this.partItemCache = {}\n this.selectedUnit = null\n}","funcProperties":{"__isSmartRef__":true,"id":3039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3038":{"this":{"__isSmartRef__":true,"id":2043}},"3039":{"timestamp":{"__isSmartRef__":true,"id":3040},"user":"timfelgentreff","tags":[]},"3040":{"isSerializedDate":true,"string":"Thu Apr 26 2012 14:08:04 GMT+0200 (CEST)"},"3041":{"varMapping":{"__isSmartRef__":true,"id":3042},"source":"function zIndexForTiles() {\n return 10;\n}","funcProperties":{"__isSmartRef__":true,"id":3043},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3042":{"this":{"__isSmartRef__":true,"id":2043}},"3043":{"timestamp":{"__isSmartRef__":true,"id":3044},"user":"timfelgentreff","tags":[]},"3044":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:58:48 GMT+0200 (CEST)"},"3045":{"varMapping":{"__isSmartRef__":true,"id":3046},"source":"function zIndexForThings() {\n return this.zIndexForTiles + 10;\n}","funcProperties":{"__isSmartRef__":true,"id":3047},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3046":{"this":{"__isSmartRef__":true,"id":2043}},"3047":{"timestamp":{"__isSmartRef__":true,"id":3048},"user":"timfelgentreff","tags":[]},"3048":{"isSerializedDate":true,"string":"Thu Apr 19 2012 17:59:07 GMT+0200 (CEST)"},"3049":{"varMapping":{"__isSmartRef__":true,"id":3050},"source":"function partNamesEndingWith(string) {\n if (!this.partNamesCache) this.partNamesCache = {}\n if (this.partNamesCache[string]) return this.partNamesCache[string]\n\n this.partNamesCache[string] = lively.PartsBin.\n partsSpaceNamed(\"PartsBin/\" + this.getPartsBinCategory() + \"/\").\n getPartNames().select(function (each) {\n return each.match(new RegExp(\".+\" + string + \"$\"))\n }).collect(function (each) {\n return each.truncate(each.length - string.length, \"\")\n });\n return this.partNamesCache[string]\n}","funcProperties":{"__isSmartRef__":true,"id":3051},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3050":{"this":{"__isSmartRef__":true,"id":2043}},"3051":{"timestamp":{"__isSmartRef__":true,"id":3052},"user":"timfelgentreff","tags":[]},"3052":{"isSerializedDate":true,"string":"Mon Apr 23 2012 12:22:18 GMT+0200 (CEST)"},"3053":{"textString":"Browsing parts","textEmphasis":[{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},{"__isSmartRef__":true,"id":3054},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"3054":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3055":{"textString":"","textEmphasis":[null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"3056":{"textString":"","textEmphasis":[null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"3057":{"background":{"__isSmartRef__":true,"id":17},"pageMorphs":[{"__isSmartRef__":true,"id":3058}],"titleContents":{"__isSmartRef__":true,"id":3080},"__SourceModuleName__":"Global.users.TedKaehler.DBJr","__LivelyClassName__":"PageData"},"3058":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3059},"derivationIds":[null,"10519C07-0B4E-430F-AE75-23885CE0D558"],"id":"3B1C119D-98A5-4E55-8E8F-3F68A3440F7B","renderContextTable":{"__isSmartRef__":true,"id":3065},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3066},{"__isSmartRef__":true,"id":3068},{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3074}],"eventHandler":{"__isSmartRef__":true,"id":3076},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"priorExtent":{"__isSmartRef__":true,"id":3077},"_MaxTextWidth":763,"_MinTextWidth":763,"_MaxTextHeight":null,"_MinTextHeight":null,"name":"title1","dbjrDataGetter":"titleContents","_Position":{"__isSmartRef__":true,"id":3078},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":3079},"charsReplaced":"","lastFindLoc":176,"previousSelection":[90,155],"owner":null,"pageSpecific":true,"_Rotation":0,"_Scale":1,"priorSelectionRange":[176,158],"__LivelyClassName__":"lively.morphic.Text"},"3059":{"_Position":{"__isSmartRef__":true,"id":3060},"renderContextTable":{"__isSmartRef__":true,"id":3061},"_Extent":{"__isSmartRef__":true,"id":3062},"_Padding":{"__isSmartRef__":true,"id":3063},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3064},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3060":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3061":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3062":{"x":771,"y":190,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3063":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3064":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3065":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3066":{"style":{"__isSmartRef__":true,"id":3067},"chunkOwner":{"__isSmartRef__":true,"id":3058},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3067":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"normal","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3068":{"style":{"__isSmartRef__":true,"id":3069},"chunkOwner":{"__isSmartRef__":true,"id":3058},"storedString":"Hopscotch\n editable graph of classes, inner-classes and their functions\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3069":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"27px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3070":{"style":{"__isSmartRef__":true,"id":3071},"chunkOwner":{"__isSmartRef__":true,"id":3058},"storedString":"\nBrowser Tools – Elements view\n","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3071":{"color":"rgb(0,0,0)","fontFamily":"Helvetica","fontSize":"27px","fontStyle":"normal","fontVariant":"normal","fontWeight":"normal","letterSpacing":"normal","lineHeight":"normal","orphans":"2","textAlign":"-webkit-auto","textIndent":"0px","textTransform":"none","whiteSpace":"pre-wrap","widows":"2","wordSpacing":"0px","webkitTextSizeAdjust":"auto","webkitTextStrokeWidth":"0px","backgroundColor":"rgb(255,255,255)","display":"inline!important","float":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3072":{"style":{"__isSmartRef__":true,"id":3073},"chunkOwner":{"__isSmartRef__":true,"id":3058},"storedString":" highlight current target morph in the world","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3073":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"normal","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3074":{"style":{"__isSmartRef__":true,"id":3075},"chunkOwner":{"__isSmartRef__":true,"id":3058},"storedString":":","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"3075":{"__SourceModuleName__":"Global.lively.morphic.TextCore","italics":"normal","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3076":{"morph":{"__isSmartRef__":true,"id":3058},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3077":{"x":771,"y":190,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3078":{"x":0.9999999999999716,"y":165,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3079":{"x":307.3012455810965,"y":-15.787029473010307,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3080":{"textString":"Related Ideas","textEmphasis":[{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},{"__isSmartRef__":true,"id":3081},null],"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.RichText2"},"3081":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3082":{"submorphs":[],"scripts":[],"id":"38FC43BD-856C-4B5E-815D-66DA188277F2","shape":{"__isSmartRef__":true,"id":3083},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3091},"showsHalos":false,"name":"Page","partsBinMetaInfo":{"__isSmartRef__":true,"id":3092},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":3093},"eventHandler":{"__isSmartRef__":true,"id":3094},"priorExtent":{"__isSmartRef__":true,"id":3095},"derivationIds":[2596,"EA3FB300-3F4B-4331-8A7C-9BE36B07C53A"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":3096},"owner":null,"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"3083":{"position":{"__isSmartRef__":true,"id":3084},"_Extent":{"__isSmartRef__":true,"id":3085},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3086},"_Fill":{"__isSmartRef__":true,"id":3087},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3088},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3089},"_Position":{"__isSmartRef__":true,"id":3090},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3084":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3085":{"x":342.4366430423843,"y":289.6412596918213,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3086":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3087":{"r":0.384,"g":0.839,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3088":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3089":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3090":{"x":-0.9831690030994196,"y":-1.4455399793256447,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3091":{"x":1238.6987544189033,"y":602.7870294730101,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3092":{"partsSpaceName":"PartsBin/Basic/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3093":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3094":{"morph":{"__isSmartRef__":true,"id":3082},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3095":{"x":343.4366430423843,"y":289.6412596918213,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3096":{"x":238.2844145841963,"y":-15.341489493684406,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3097":{"newStack":{"__isSmartRef__":true,"id":3098},"initialize":{"__isSmartRef__":true,"id":3102},"newPage":{"__isSmartRef__":true,"id":3110},"showPageNum":{"__isSmartRef__":true,"id":3114},"removePageSpecific":{"__isSmartRef__":true,"id":3118},"addPageSpecific":{"__isSmartRef__":true,"id":3122},"loadPageText":{"__isSmartRef__":true,"id":3126},"demo":{"__isSmartRef__":true,"id":3130},"bePerPageText":{"__isSmartRef__":true,"id":3134},"addPageControlsTo":{"__isSmartRef__":true,"id":3138},"showPageInc":{"__isSmartRef__":true,"id":3142},"newPageHere":{"__isSmartRef__":true,"id":3146},"beInBackground":{"__isSmartRef__":true,"id":3150},"showMenu":{"__isSmartRef__":true,"id":3154},"deletePage":{"__isSmartRef__":true,"id":3158},"addBackground":{"__isSmartRef__":true,"id":3162},"stackMenuItems":{"__isSmartRef__":true,"id":3166},"beInPage":{"__isSmartRef__":true,"id":3170},"showPageWithProperty":{"__isSmartRef__":true,"id":3174}},"3098":{"varMapping":{"__isSmartRef__":true,"id":3099},"source":"function newStack() {\n stk = this.copy();\n this.owner.addMorph(stk);\n stk.initialize();\n return stk;\n}","funcProperties":{"__isSmartRef__":true,"id":3100},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3099":{"this":{"__isSmartRef__":true,"id":16}},"3100":{"timestamp":{"__isSmartRef__":true,"id":3101},"user":"TedKaehler","tags":[]},"3101":{"isSerializedDate":true,"string":"Thu Apr 05 2012 23:07:37 GMT+0200 (CEST)"},"3102":{"varMapping":{"__isSmartRef__":true,"id":3103},"source":"function initialize() {\n this.removeAllMorphs();\n this.pageIndex = 0; // 1-order\n this.pageArray = [];\n this.showBackground = null;\n this.baseBackground = this.owner.pageProto;\n var newBKgnd = this.baseBackground.copy();\n newBKgnd.stack = this;\n this.newPage(newBKgnd);\n}","funcProperties":{"__isSmartRef__":true,"id":3108},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3103":{"this":{"__isSmartRef__":true,"id":16},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3104}},"3104":{"$super":{"__isSmartRef__":true,"id":3105}},"3105":{"varMapping":{"__isSmartRef__":true,"id":3106},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3107},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3106":{"obj":{"__isSmartRef__":true,"id":16},"name":"initialize"},"3107":{},"3108":{"timestamp":{"__isSmartRef__":true,"id":3109},"user":"TedKaehler","tags":[]},"3109":{"isSerializedDate":true,"string":"Sat Apr 28 2012 00:20:13 GMT+0200 (CEST)"},"3110":{"varMapping":{"__isSmartRef__":true,"id":3111},"source":"function newPage(aBackground) {\n var pgData = new PageData(aBackground, []);\n this.pageArray.splice(this.pageIndex, 0, pgData);\n // splice is 1-order\n if (this.pageArray.length == 1) {\n this.addMorph(aBackground);\n aBackground.setOrigin(pt(0,0));\n aBackground.setPosition(pt(5,5));\n this.pageIndex = 1}\n else {\n this.showPageNum(this.pageIndex + 1); // 1-order\n if (this.pageArray[this.pageIndex - 1].background !== this.pageArray[this.pageIndex - 2].background) {\n //changed backgrounds\n aBackground.setOrigin(pt(0,0));\n aBackground.setPosition(pt(0,10))}};\n}","funcProperties":{"__isSmartRef__":true,"id":3112},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3111":{"this":{"__isSmartRef__":true,"id":16}},"3112":{"timestamp":{"__isSmartRef__":true,"id":3113},"user":"TedKaehler","tags":[]},"3113":{"isSerializedDate":true,"string":"Fri Apr 27 2012 19:10:14 GMT+0200 (CEST)"},"3114":{"varMapping":{"__isSmartRef__":true,"id":3115},"source":"function showPageNum(newIndexIn) {\n // turn to a page and show it. newIndex is 1 based.\n if (this.pageIndex == newIndexIn) {return this;};\n var newIndex = (newIndexIn + (this.pageArray.length) - 1) % (this.pageArray.length) + 1;\n var newData = this.pageArray[newIndex - 1];\n if (! newData) {this.alert('page number out of range')};\n var oldData = this.pageArray[this.pageIndex - 1];\n this.removePageSpecific(oldData); // includes storing text\n this.pageIndex = newIndex;\n if (oldData.background !== newData.background) { //change backgrounds\n oldData.background.remove();\n this.addMorph(newData.background);\n newData.background.setOrigin(pt(0,0));\n newData.background.setPosition(pt(0,10));\n };\n this.addPageSpecific(newData); // includes loading text\n }","funcProperties":{"__isSmartRef__":true,"id":3116},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3115":{"this":{"__isSmartRef__":true,"id":16}},"3116":{"timestamp":{"__isSmartRef__":true,"id":3117},"user":"TedKaehler","tags":[]},"3117":{"isSerializedDate":true,"string":"Fri Apr 27 2012 19:09:26 GMT+0200 (CEST)"},"3118":{"varMapping":{"__isSmartRef__":true,"id":3119},"source":"function removePageSpecific(pgData) {\n // remove page specific morphs and put them in pageMorphs\n var subs = pgData.background.submorphs;\n var len = subs.length;\n var mm = null;\n pgData.pageMorphs = [];\n for(var ii=0; ii=0; ii--) { // reverse\n pgData.background.addMorph(pgData.pageMorphs[ii]);\n };\n this.loadPageText(pgData);\n}","funcProperties":{"__isSmartRef__":true,"id":3124},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3123":{"this":{"__isSmartRef__":true,"id":16}},"3124":{"timestamp":{"__isSmartRef__":true,"id":3125},"user":"TedKaehler","tags":[]},"3125":{"isSerializedDate":true,"string":"Sat Apr 07 2012 02:33:32 GMT+0200 (CEST)"},"3126":{"varMapping":{"__isSmartRef__":true,"id":3127},"source":"function loadPageText(pgData) {\n // take text from property fldNameContents in pageData nd put it into its background.\n var subs = pgData.background.submorphs;\n var len = subs.length;\n var mm = null;\n for(var ii=0; ii'));\n menuButton.addScript(function onMouseUp(evt) {this.owner.owner.owner.showMenu(evt)});\n menuButton.align(menuButton.bounds().bottomCenter(),\n tray.innerBounds().bottomCenter().addXY(2, -2));\n\n var downButton = tray.addMorph(new ButtonMorph (new Rectangle(0, 0, 20, 20), '<'));\n downButton.addScript(function onMouseUp(evt) {this.owner.owner.owner.showPageInc(-1)});\n downButton.align(downButton.bounds().topRight(), menuButton.bounds().topLeft());\n\n var removeButton = tray.addMorph(new ButtonMorph (new Rectangle(0, 0, 26, 20), '<<'));\n removeButton.addScript(function onMouseUp(evt) {this.owner.owner.owner.showPageNum(1)});\n removeButton.align(removeButton.bounds().topRight(), downButton.bounds().topLeft());\n\n var upButton = tray.addMorph(new ButtonMorph (new Rectangle(0, 0, 20, 20), '>'));\n upButton.addScript(function onMouseUp(evt) {this.owner.owner.owner.showPageInc(1)});\n upButton.align(upButton.bounds().topLeft(), menuButton.bounds().topRight());\n\n var addButton = tray.addMorph(new ButtonMorph (new Rectangle(0, 0, 20, 20), '+'));\n addButton.addScript(function onMouseUp(evt) {this.owner.owner.owner.newPageHere()});\n addButton.align(addButton.bounds().topLeft(), upButton.bounds().topRight());\n\n}","funcProperties":{"__isSmartRef__":true,"id":3140},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3139":{"this":{"__isSmartRef__":true,"id":16}},"3140":{"timestamp":{"__isSmartRef__":true,"id":3141},"user":"TedKaehler","tags":[]},"3141":{"isSerializedDate":true,"string":"Fri Apr 27 2012 22:41:27 GMT+0200 (CEST)"},"3142":{"varMapping":{"__isSmartRef__":true,"id":3143},"source":"function showPageInc(delta) {\n // turn to a page and show it. newIndex is 1 based.\n this.showPageNum(this.pageIndex + delta)\n }","funcProperties":{"__isSmartRef__":true,"id":3144},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3143":{"this":{"__isSmartRef__":true,"id":16}},"3144":{"timestamp":{"__isSmartRef__":true,"id":3145},"user":"TedKaehler","tags":[]},"3145":{"isSerializedDate":true,"string":"Sat Apr 14 2012 08:27:17 GMT+0200 (CEST)"},"3146":{"varMapping":{"__isSmartRef__":true,"id":3147},"source":"function newPageHere() {\n this.newPage(this.pageArray[this.pageIndex - 1].background);\n}","funcProperties":{"__isSmartRef__":true,"id":3148},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3147":{"this":{"__isSmartRef__":true,"id":16}},"3148":{"timestamp":{"__isSmartRef__":true,"id":3149},"user":"TedKaehler","tags":[]},"3149":{"isSerializedDate":true,"string":"Sat Apr 14 2012 08:46:43 GMT+0200 (CEST)"},"3150":{"varMapping":{"__isSmartRef__":true,"id":3151},"source":"function beInBackground(aMorph) {\n // make the morph be in the background\n delete aMorph.pageSpecific;\n}","funcProperties":{"__isSmartRef__":true,"id":3152},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3151":{"this":{"__isSmartRef__":true,"id":16}},"3152":{"timestamp":{"__isSmartRef__":true,"id":3153},"user":"TedKaehler","tags":[]},"3153":{"isSerializedDate":true,"string":"Tue Apr 17 2012 18:53:50 GMT+0200 (CEST)"},"3154":{"varMapping":{"__isSmartRef__":true,"id":3155},"source":"function showMenu(evt) {\n // menu in page controls <>\n var self = this, items = [];\n items.push(['delete page', function(evt2) {\n self.deletePage()}]);\n items.push(['new background', function(evt2) {\n self.addBackground()}]);\n\n lively.morphic.Menu.openAt(evt.getPosition(), 'Stack Menu', items);\n }","funcProperties":{"__isSmartRef__":true,"id":3156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3155":{"this":{"__isSmartRef__":true,"id":16}},"3156":{"timestamp":{"__isSmartRef__":true,"id":3157},"user":"TedKaehler","tags":[]},"3157":{"isSerializedDate":true,"string":"Tue Apr 17 2012 21:45:49 GMT+0200 (CEST)"},"3158":{"varMapping":{"__isSmartRef__":true,"id":3159},"source":"function deletePage() {\n // remove the current page\n this.showPageInc(1); // show page after deleted\n if (this.pageIndex - 2 < 0) { // delete last page\n this.pageArray.splice(-1, 1);\n } else {\n this.pageArray.splice(this.pageIndex - 2, 1);\n this.pageIndex = this.pageIndex - 1;\n };\n}","funcProperties":{"__isSmartRef__":true,"id":3160},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3159":{"this":{"__isSmartRef__":true,"id":16}},"3160":{"timestamp":{"__isSmartRef__":true,"id":3161},"user":"TedKaehler","tags":[]},"3161":{"isSerializedDate":true,"string":"Tue Apr 17 2012 23:26:53 GMT+0200 (CEST)"},"3162":{"varMapping":{"__isSmartRef__":true,"id":3163},"source":"function addBackground() {\n // add an empty background after the current page\n // It comes with page controls. You can delete them.\n var newBKgnd = this.baseBackground.copy();\n newBKgnd.stack = this;\n newBKgnd.setFill(Color.white);\n this.newPage(newBKgnd);\n this.addPageControlsTo(newBKgnd);\n return newBKgnd;\n}","funcProperties":{"__isSmartRef__":true,"id":3164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3163":{"this":{"__isSmartRef__":true,"id":16}},"3164":{"timestamp":{"__isSmartRef__":true,"id":3165},"user":"TedKaehler","tags":[]},"3165":{"isSerializedDate":true,"string":"Tue Apr 17 2012 23:30:49 GMT+0200 (CEST)"},"3166":{"varMapping":{"__isSmartRef__":true,"id":3167},"source":"function stackMenuItems(aMorph, items) {\n // return a list of stack-related menu items for aMorph\n var self = this;\n if (aMorph.pageSpecific) {\n items.push(['be in background', function(evt2) {\n self.beInBackground(aMorph)}]) }\n else {\n items.push(['be in this page only', function(evt2) {\n self.beInPage(aMorph)}])\n };\n items.push(['be per page text', function(evt2) {\n self.bePerPageText(aMorph)}]);\n\n return items\n}","funcProperties":{"__isSmartRef__":true,"id":3168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3167":{"this":{"__isSmartRef__":true,"id":16}},"3168":{"timestamp":{"__isSmartRef__":true,"id":3169},"user":"TedKaehler","tags":[]},"3169":{"isSerializedDate":true,"string":"Wed Apr 18 2012 19:22:08 GMT+0200 (CEST)"},"3170":{"varMapping":{"__isSmartRef__":true,"id":3171},"source":"function beInPage(aMorph) {\n // make the morph be on this page only\n aMorph.pageSpecific = true;\n}","funcProperties":{"__isSmartRef__":true,"id":3172},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3171":{"this":{"__isSmartRef__":true,"id":16}},"3172":{"timestamp":{"__isSmartRef__":true,"id":3173},"user":"TedKaehler","tags":[]},"3173":{"isSerializedDate":true,"string":"Wed Apr 18 2012 19:17:49 GMT+0200 (CEST)"},"3174":{"varMapping":{"__isSmartRef__":true,"id":3175},"source":"function showPageWithProperty(propertyN, value) {\n // Search pages for pageData with the property and value. \n // idNum, 3452 is a useful property to set and search for\n // Note: property is on the pageData object\n // (stack.pageArray[stack.pageIndex - 1]), not the morph!\n var paLen = this.pageArray.length;\n var data = null;\n for(var jj=0; jj