Пример #1
0
Файл: main.go Проект: hahaya/qml
func (ctrl *Control) Done(emitter *qml.Object) {
	emitter.Destroy()
}
Пример #2
0
func (g *Game) DestroyBlock(block qml.Object, t int) {
	go func() {
		time.Sleep(time.Duration(t) * time.Millisecond)
		block.Destroy()
	}()
}