Skip to content

Structure of the DiamondMine Object

gjtrowbridge edited this page Oct 7, 2014 · 1 revision

The DiamondMine object:

{
  distanceFromTop: /* location of this mine */
  distanceFromLeft: /* location of this mine */

  type: 'DiamondMine'
  owner: /* undefined if unowned, otherwise will be a
            reference to a hero object */
}

And here's the...