mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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.
|
// Dir returns false if no direction key is pressed.
|
||||||
func (i *Input) Dir() (Dir, bool) {
|
func (i *Input) Dir() (Dir, bool) {
|
||||||
for k, d := range dirKeys {
|
for k, d := range dirKeys {
|
||||||
|
@ -34,7 +34,7 @@ type TileData struct {
|
|||||||
y int
|
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 {
|
type Tile struct {
|
||||||
current TileData
|
current TileData
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ import (
|
|||||||
|
|
||||||
// A Key represents a keyboard key.
|
// A Key represents a keyboard key.
|
||||||
// These keys represent pysical keys of US keyboard.
|
// 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
|
type Key int
|
||||||
|
|
||||||
// Keys
|
// Keys
|
||||||
|
@ -86,7 +86,7 @@ func hideConsoleWindowOnWindows() {
|
|||||||
// Ignore errors
|
// Ignore errors
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Get the process ID of the console's creater.
|
// Get the process ID of the console's creator.
|
||||||
cpid, err := getWindowThreadProcessId(w)
|
cpid, err := getWindowThreadProcessId(w)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// Ignore errors
|
// Ignore errors
|
||||||
|
2
keys.go
2
keys.go
@ -22,7 +22,7 @@ import (
|
|||||||
|
|
||||||
// A Key represents a keyboard key.
|
// A Key represents a keyboard key.
|
||||||
// These keys represent pysical keys of US keyboard.
|
// 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
|
type Key int
|
||||||
|
|
||||||
// Keys
|
// Keys
|
||||||
|
Loading…
Reference in New Issue
Block a user