make field readonly
This commit is contained in:
parent
0a37453dbd
commit
28ef337691
@ -2,8 +2,8 @@ using System;
|
|||||||
|
|
||||||
namespace SemiColinGames {
|
namespace SemiColinGames {
|
||||||
class FpsCounter {
|
class FpsCounter {
|
||||||
|
private readonly int[] frameTimes = new int[60];
|
||||||
private double fps = 0;
|
private double fps = 0;
|
||||||
private int[] frameTimes = new int[60];
|
|
||||||
private int idx = 0;
|
private int idx = 0;
|
||||||
|
|
||||||
public int Fps {
|
public int Fps {
|
||||||
|
Loading…
Reference in New Issue
Block a user