Пример #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))))
}