Example #1
0
func (t *Timer) GetCount() int64 {
	var i int64

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

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