Class TileModel
Base class for the models used in generation.
Namespace: DeBroglie.Models
Assembly: DeBroglie.dll
Syntax
public abstract class TileModel
Properties
| Edit this page View SourceTiles
Declaration
public abstract IEnumerable<Tile> Tiles { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Tile> |
Methods
| Edit this page View SourceMultiplyFrequency(Tile, double)
Scales the the occurency frequency of a given tile by the given multiplier.
Declaration
public abstract void MultiplyFrequency(Tile tile, double multiplier)
Parameters
Type | Name | Description |
---|---|---|
Tile | tile | |
double | multiplier |
MultiplyFrequency(Tile, double, TileRotation)
Scales the the occurency frequency of a given tile by the given multiplier, including other rotations of the tile.
Declaration
public virtual void MultiplyFrequency(Tile tile, double multiplier, TileRotation tileRotation)
Parameters
Type | Name | Description |
---|---|---|
Tile | tile | |
double | multiplier | |
TileRotation | tileRotation |