PlayerAction.CalculateCost C# (CSharp) Method