Assignment3.Timer.Tick C# (CSharp) Method

Tick() public method

public Tick ( float deltaTime ) : void
deltaTime float
return void
    public void Tick(float deltaTime)
    {
      elapsedTime += deltaTime;
      if (elapsedTime >= targetTime)
        onReached.Perform();
    }