示例#1
0
func (t *Timer) GetSpeed() float64 {
	var f float64

	f = float64(C.al_get_timer_speed((*C.ALLEGRO_TIMER)(t)))

	return f
}
示例#2
0
文件: al.go 项目: beoran/algo
// Gets the speed of the timer.
func (self *Timer) GetSpeed() float64 {
	return float64(C.al_get_timer_speed(self.handle))
}
示例#3
0
func (t *Timer) GetSpeed() float64 {
	return float64(C.al_get_timer_speed((*C.ALLEGRO_TIMER)(unsafe.Pointer(t))))
}