home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Equipe de France et Bonbons
/
EquipeFrancePromoCD.iso
/
pages
/
cs_cadbury
/
loadergfx.swf
/
scripts
/
__Packages
/
Point2D.as
< 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
|
2006-03-19
|
429 b
|
31 lines
class Point2D
{
var x;
var y;
function Point2D(x, y)
{
this.x = x;
this.y = y;
}
function trace()
{
trace("Point2D(x,y) = (" + this.x + "," + this.y + ")");
}
function getX()
{
return this.x;
}
function getY()
{
return this.y;
}
function setX(x)
{
this.x = x;
}
function setY(y)
{
this.y = y;
}
}