C# Класс ByChance.Levels2D.Anchor2D

Placeholder for game elements in 2D levels that can be filled after the level generation process.
Наследование: ByChance.Core.Anchor
Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
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.