Player LivesLeft Property Delta Engine Documentation

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

public int LivesLeft { get; set; }

Property Value

Type: Int32
Remarks

Tests: CreepyTowers.Tests.PlayerTests
Examples

1 unit tests call CreepyTowers.Player.LivesLeft
[Test, CloseAfterFirstFrame]
public void InitializingMaxLivesAlsoInitializedLivesLeftForPlayer()
{
    player.MaxLives = 10;
    Assert.AreEqual(10, player.MaxLives);
    Assert.AreEqual(10, player.LivesLeft);
}
See Also