Fix misspelling

This commit is contained in:
Hajime Hoshi 2017-07-23 22:49:04 +09:00
parent d2d19d0764
commit 3bfb5054af
5 changed files with 5 additions and 5 deletions

View File

@ -216,7 +216,7 @@ func (i *Input) Update() {
}
}
// Dir returns a currenly pressed direction.
// Dir returns a currently pressed direction.
// Dir returns false if no direction key is pressed.
func (i *Input) Dir() (Dir, bool) {
for k, d := range dirKeys {

View File

@ -34,7 +34,7 @@ type TileData struct {
y int
}
// Tile represents a tile infomation including TileData and animation states.
// Tile represents a tile information including TileData and animation states.
type Tile struct {
current TileData

View File

@ -142,7 +142,7 @@ import (
// A Key represents a keyboard key.
// These keys represent pysical keys of US keyboard.
// For example, KeyQ represents Q key on US keybaords and ' (quote) key on Dvorak keyboards.
// For example, KeyQ represents Q key on US keyboards and ' (quote) key on Dvorak keyboards.
type Key int
// Keys

View File

@ -86,7 +86,7 @@ func hideConsoleWindowOnWindows() {
// Ignore errors
return
}
// Get the process ID of the console's creater.
// Get the process ID of the console's creator.
cpid, err := getWindowThreadProcessId(w)
if err != nil {
// Ignore errors

View File

@ -22,7 +22,7 @@ import (
// A Key represents a keyboard key.
// These keys represent pysical keys of US keyboard.
// For example, KeyQ represents Q key on US keybaords and ' (quote) key on Dvorak keyboards.
// For example, KeyQ represents Q key on US keyboards and ' (quote) key on Dvorak keyboards.
type Key int
// Keys