Пример #1
0
func (t *Timer) SetSpeed(newSpeedSecs float64) {
	C.al_set_timer_speed((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.double(newSpeedSecs))
}
Пример #2
0
Файл: al.go Проект: 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))
}
Пример #3
0
func (t *Timer) SetSpeed(speed float64) {

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

}