mobile/ebitenmobileview: Rename files

This commit is contained in:
Hajime Hoshi 2020-02-19 00:48:57 +09:00
parent dc96d25457
commit e20cbac8d8
3 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@ func UpdateTouchesOnAndroid(action int, id int, x, y int) {
}
}
// UpdateTouchesOnIOS is a dummy function for backward compatibility.
// UpdateTouchesOnIOS is called from ebiten/mobile package.
func UpdateTouchesOnIOS(phase int, ptr int64, x, y int) {
panic("ebitenmobileview: updateTouchesOnIOSImpl must not be called on Android")
}

View File

@ -43,6 +43,8 @@ func getIDFromPtr(ptr int64) int {
return id
}
// UpdateTouchesOnAndroid is a dummy function for backward compatibility.
// UpdateTouchesOnAndroid is called from ebiten/mobile package.
func UpdateTouchesOnAndroid(action int, id int, x, y int) {
panic("ebitenmobileview: updateTouchesOnAndroid must not be called on iOS")
}