Exemple #1
0
func (t *Timer) SetCount(newCount int64) {
	C.al_set_timer_count((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.int64_t(newCount))
}
Exemple #2
0
// 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))
}
Exemple #3
0
func (t *Timer) SetCount(count int64) {

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

}