Ejemplo n.º 1
0
func (t *Timer) SetSpeed(newSpeedSecs float64) {
	C.al_set_timer_speed((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.double(newSpeedSecs))
}
Ejemplo n.º 2
0
Archivo: al.go Proyecto: beoran/algo
// Sets the speed of the timer.
func (self *Timer) SetSpeed(speed_secs float64) {
	C.al_set_timer_speed(self.handle, C.double(speed_secs))
}
Ejemplo n.º 3
0
func (t *Timer) SetSpeed(speed float64) {

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

}