cremalab/holidays-game — pull request #12 by albatrocity (2014-12-04 21:23:27+00:00)
Title: Collision Detection

Uses the `Landscaper` class to add objects in a landscape array as obstructions on the map. Currently only works with SVGs. Add obstructions to the map by adding objects to the `lib/landscape.coffee` array:

```coffee
module.exports = [
id: "rock1" # adds ID to DOM element
src: "/images/circle.svg" # src of the SVG file
x: 100 # left position
y: 300 # top position
,
id: "dew"
src: "/images/dew.svg"
x: 350
y: 350
]
```