(pos: Pos)
| 36 | } |
| 37 | |
| 38 | public plus(pos: Pos): Pos{ // The plus method return a new Pos object containing our position with the position given in parameter added |
| 39 | return new Pos(this.x + pos.x, this.y + pos.y); |
| 40 | } |
| 41 | } |
no outgoing calls
no test coverage detected