Esempio n. 1
0
func (t *Timer) AddCount(diff int64) {
	C.al_add_timer_count((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.int64_t(diff))
}
Esempio n. 2
0
File: al.go Progetto: beoran/algo
// Adds to the count (in ticks) of the timer
func (self *Timer) AddCount(count int) {
	C.al_add_timer_count(self.handle, C.int64_t(count))
}
Esempio n. 3
0
func (t *Timer) AddCount(delta int64) {

	C.al_add_timer_count((*C.ALLEGRO_TIMER)(t), C.int64_t(delta))

}