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

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

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