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

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

}