Beispiel #1
0
func (t *Timer) AddCount(diff int64) {
	C.al_add_timer_count((*C.ALLEGRO_TIMER)(unsafe.Pointer(t)), C.int64_t(diff))
}
Beispiel #2
0
Datei: al.go Projekt: 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))
}
Beispiel #3
0
func (t *Timer) AddCount(delta int64) {

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

}