-
class PasteModification:
Modification¶ -
cells:
SparseGrid¶ A sparse grid class that stores data using hashed coordinates. Similar to a SparseMap except here there is only one entry per grid coordinate. This is suitable for stuff like Cells.
-
actors:
SparseMap¶ A sparse grid of buckets that objects can be placed into. Used for tracking actors by x,y position in Level.
-
__new(
self:PasteModification,
cells:SparseGrid,
actors:SparseMap,
topLeft:Vector2
)¶
Other members:
Inherited from
Modification:execute(),place(),placeActor(),placeCell(),placed,removeActor(),removed,replaced,undo()Inherited from
Object:_serializationBlacklist,adopt(),assertType(),className,deepcopy(),deserialize(),extend(),instanceOf(),is(),isInstance(),mixin(),prettyprint(),serializationBlacklist,serialize()-
cells: