Esempio n. 1
0
func (t *Timer) GetCount() int64 {
	var i int64

	i = int64(C.al_get_timer_count((*C.ALLEGRO_TIMER)(t)))

	return i
}
Esempio n. 2
0
File: al.go Progetto: beoran/algo
// Gets the count (in ticks) of the timer
func (self *Timer) GetCount() int {
	return int(C.al_get_timer_count(self.handle))
}
Esempio n. 3
0
func (t *Timer) GetCount() int64 {
	return int64(C.al_get_timer_count((*C.ALLEGRO_TIMER)(unsafe.Pointer(t))))
}