nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: Misc AST
[nit.git]
/
lib
/
console.nit
diff --git
a/lib/console.nit
b/lib/console.nit
index
e922a84
..
c0a8772
100644
(file)
--- a/
lib/console.nit
+++ b/
lib/console.nit
@@
-44,8
+44,6
@@
end
class TermMoveUp
super TermDirectionalMove
class TermMoveUp
super TermDirectionalMove
- init do end
-
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
@@
-56,8
+54,6
@@
end
class TermMoveDown
super TermDirectionalMove
class TermMoveDown
super TermDirectionalMove
- init do end
-
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
@@
-68,8
+64,6
@@
end
class TermMoveFoward
super TermDirectionalMove
class TermMoveFoward
super TermDirectionalMove
- init do end
-
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
@@
-80,8
+74,6
@@
end
class TermMoveBackward
super TermDirectionalMove
class TermMoveBackward
super TermDirectionalMove
- init do end
-
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
# Move by the specified number of cells.
init by(magnitude: Int) do self.magnitude = magnitude
@@
-102,8
+94,6
@@
class TermMove
# 1 is the left.
var column: Int = 1
# 1 is the left.
var column: Int = 1
- init do end
-
# Move at the specified position.
#
# (1, 1) is the top-left corner of the display.
# Move at the specified position.
#
# (1, 1) is the top-left corner of the display.