-
class PenModification:
Modification¶ -
-
locations:
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.
-
__new(
self:PenModification,
placeable: {entity:Entity, factory: fun():Entity},
locations:SparseGrid
)¶
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() -
locations: