Esempio n. 1
0
func CreateTimer(speed_secs float64) *Timer {
	var t *Timer

	t = (*Timer)(C.al_create_timer(C.double(speed_secs)))

	return t
}
Esempio n. 2
0
File: al.go Progetto: beoran/algo
// Creates a timer wih the given tick speed.
func CreateTimer(speed_secs float64) *Timer {
	return wrapTimer(C.al_create_timer(C.double(speed_secs)))
}
Esempio n. 3
0
func CreateTimer(speedSecs float64) *Timer {
	return (*Timer)(unsafe.Pointer(C.al_create_timer(C.double(speedSecs))))
}