예제 #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))))
}