home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Environments
/
SmallEiffel 0.3.3
/
SmallEiffel 68k
/
lib_test
/
point.e
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1996-06-13
|
299 b
|
25 lines
|
[
TEXT/EDIT
]
class POINT
creation {ANY}
make
feature {ANY}
x, y : REAL;
make (cx : REAL; cy : REAL) is
do
x := cx;
y := cy;
end; -- make
feature {ANY}
translater(dx, dy : REAL) is
do
x := x + dx;
y := y + dy;
end; -- translater
end -- POINT