Browse Source

make field readonly

master
Colin McMillen 4 years ago
parent
commit
28ef337691
  1. 2
      Shared/FpsCounter.cs

2
Shared/FpsCounter.cs

@ -2,8 +2,8 @@ using System;
namespace SemiColinGames {
class FpsCounter {
private readonly int[] frameTimes = new int[60];
private double fps = 0;
private int[] frameTimes = new int[60];
private int idx = 0;
public int Fps {

Loading…
Cancel
Save