mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
Fix misspelling
This commit is contained in:
parent
d2d19d0764
commit
3bfb5054af
@ -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 {
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
2
keys.go
2
keys.go
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user