Class: Gridpoint

Gridpoint(template)

Gridpoint is what Gridmodels are made of. Contains everything that may happen in 1 locality.

Constructor

new Gridpoint(template)

The constructor function for a @Gridpoint object. Takes an optional template to copy primitives from. (NOTE!! Other types of objects are NOT deep copied by default) If you need synchronous updating with complex objects (for whatever reason), replate line 18 with line 19. This will slow things down quite a bit, so ony use this if you really need it. A better option is to use asynchronous updating so you won't have to worry about this at all :)
Parameters:
Name Type Description
template Gridpoint Optional template to make a new @Gridpoint from
Source: