mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-05 17:57:17 -05:00
cof: rename SpeedToFPS -> FPS
This commit is contained in:
parent
78404ed56c
commit
15d30ffcce
@ -1,7 +1,7 @@
|
||||
package d2cof
|
||||
|
||||
// SpeedToFPS returns FPS value basing on cof's speed
|
||||
func (c *COF) SpeedToFPS() float64 {
|
||||
// FPS returns FPS value basing on cof's speed
|
||||
func (c *COF) FPS() float64 {
|
||||
const (
|
||||
baseFPS = 25
|
||||
speedDivisor = 256
|
||||
|
Loading…
Reference in New Issue
Block a user