Table of Contents

Interface ITileArgs

Namespace
TrinketTinker.Models.AbilityArgs
Assembly
TrinketTinker.dll

Interface describing related to picking tiles around the companion or player

public interface ITileArgs

Properties

CollisionMap

An optional collision map for specifying exactly what tiles to pick. X is a tile to pick, and any other char is skipped.

OXX
XOX
XXO

When this is set, count is ignored, but range is still used for the overall area affected. Tiles within range but not within the collision maps are never picked

string? CollisionMap { get; set; }

Property Value

string

Count

Number of tiles to affect at a time, -1 means all

int Count { get; set; }

Property Value

int

Range

Tile range radius, e.g. range 1 = 3x3, results in a square

int Range { get; set; }

Property Value

int

Methods

IsCollide(int)

bool IsCollide(int tileIdx)

Parameters

tileIdx int

Returns

bool