Paint towers with some the colors of the wind

This commit is contained in:
Ben Calegari 2026-06-02 23:59:44 -07:00
parent fec4433691
commit 04ead32846
15 changed files with 584 additions and 32 deletions

View file

@ -43,6 +43,22 @@ namespace TD.Core
}
/// <summary>
/// Paint color applied to a built tower by the Paint tool. Orthogonal to the owner's
/// player color: <see cref="None"/> means "unpainted" and the tower shows its owner
/// color; any other value overrides the visual tint and (in a later iteration) drives
/// projectile behavior (splash / poison-DoT / slow). Backed by byte for compact
/// NetworkVariable replication.
/// </summary>
public enum PaintColor : byte
{
/// <summary>Unpainted — tower shows its owner color. Also the Reset brush.</summary>
None = 0,
Red = 1,
Green = 2,
Blue = 3,
}
/// <summary>
/// Identifies a player slot in a match. Backed by byte to keep grid arrays compact.
/// </summary>