コード例 #1
0
ファイル: timer.go プロジェクト: b1naryth1ef/allegro
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
ファイル: timer.go プロジェクト: bluepeppers/allegro
func (t *Timer) AddCount(delta int64) {

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

}