16 lines
303 B
Plaintext
16 lines
303 B
Plaintext
|
class Example.Square (Example.Rectangle) {
|
||
|
[[A square shape object]]
|
||
|
methods {
|
||
|
@property side {
|
||
|
[[The length of both sides of this square]]
|
||
|
set {
|
||
|
}
|
||
|
get {
|
||
|
}
|
||
|
values {
|
||
|
size: int; [[Square side length]]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|