StartingGold Gold Property Delta Engine Documentation

Namespace: CreepyTowers.Triggers
Assembly: CreepyTowers (in CreepyTowers.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public int Gold { get; }

Property Value

Type: Int32
Remarks

Tests: CreepyTowers.Tests.Triggers.StartingGoldTests
Examples

1 unit tests call CreepyTowers.Triggers.StartingGold.Gold
[Test, CloseAfterFirstFrame]
public void TestStartingGold()
{
    var trigger = new StartingGold("50");
    Assert.AreEqual(50, trigger.Gold);
    var player = new Player();
    GameTrigger.OnGameStarting();
    Assert.AreEqual(trigger.Gold, player.Gold);
}
See Also