Example #1
0
func (t *Timer) SetCount(newCount int64) {
	C.al_set_timer_count((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.int64_t(newCount))
}
Example #2
0
File: al.go Project: beoran/algo
// Sets the count (in ticks) of the timer
func (self *Timer) SetCount(count int) {
	C.al_set_timer_count(self.handle, C.int64_t(count))
}
Example #3
0
func (t *Timer) SetCount(count int64) {

	C.al_set_timer_count((*C.ALLEGRO_TIMER)(t), C.int64_t(count))

}