C# Class ByChance.Levels2D.Anchor2D

Placeholder for game elements in 2D levels that can be filled after the level generation process.
Inheritance: ByChance.Core.Anchor
Show file Open project: npruehs/bychance Class Usage Examples

Private Methods

Method Description
Anchor2D ( Anchor2D template, Chunk source ) : ByChance.Core

Constructs a new anchor with the same index and relative position as the passed one and attaches it to the specified chunk.

Anchor2D ( Vector2F relativePosition, string tag ) : ByChance.Core

Constructs a new anchor of the specified category and with the passed position relative to the position of the chunk it belongs to.