Method | Description | |
---|---|---|
GetEffectiveWeight ( |
Gets the effective weight of a chunk. Most simple implementation is to just return the weight of the chunk candidate to which chunkCandidateContext belongs to. freeLevelContext and level are passed for custom implementations by clients.
|
public GetEffectiveWeight ( |
||
freeLevelContext | Open context of the existing chunk to which the new chunk candidate will be attached to. | |
chunkCandidateContext | Open context of the chunk candidate. | |
level | object | Current generated level. |
return | int |