Exemple #1
0
func (t *Timer) SetSpeed(newSpeedSecs float64) {
	C.al_set_timer_speed((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.double(newSpeedSecs))
}
Exemple #2
0
// Sets the speed of the timer.
func (self *Timer) SetSpeed(speed_secs float64) {
	C.al_set_timer_speed(self.handle, C.double(speed_secs))
}
Exemple #3
0
func (t *Timer) SetSpeed(speed float64) {

	C.al_set_timer_speed((*C.ALLEGRO_TIMER)(t), C.double(speed))

}