Пример #1
0
func (field *Field) Move(x int, y int) bool {
	return isOk(C.move_field((*C.FIELD)(field), C.int(x), C.int(y)))
}
Пример #2
0
// Move the field to the location of the specified coordinates
func (f *Field) Move(y, x int) error {
	err := C.move_field(f.field, C.int(y), C.int(x))
	return ncursesError(syscall.Errno(err))
}
Пример #3
0
// Move the field to the location of the specified coordinates
func (f *Field) Move(y, x int32) error {
	err := C.move_field((*C.FIELD)(f), C.int(y), C.int(x))
	return ncursesError(syscall.Errno(err))
}
Пример #4
0
func (f *Field) Move(x int, y int) error {
	return geterror(C.move_field(f.field, C.int(x), C.int(y)))
}