From 1566bb1cd3d1526c62fdd1e2e30e40f1469e0a0b Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 22 Dec 2019 13:21:15 +0900 Subject: [PATCH] ui: Update comments of RunGame --- run.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.go b/run.go index d2d4a8c25..0c5de8ca6 100644 --- a/run.go +++ b/run.go @@ -176,10 +176,10 @@ func Run(f func(*Image) error, width, height int, scale float64, title string) e // RunGame starts the main loop and runs the game. // game's Update function is called every frame. -// game's Layout function is called when necessary, and you can specify the logical screen size in the function. +// game's Layout function is called when necessary, and you can specify the logical screen size by the function. // // RunGame is a more flexibile form of Run due to 'Layout' function. -// The window is resizable if you use RunGame, while you cannot if you use Run. +// You can make a resizable window if you use RunGame, while you cannot if you use Run. // RunGame is more sophisticated way than Run and hides the notion of 'scale'. // // While Run specifies the window size, RunGame does not.