Title Implement Tile.translate
Catalog Type SLCItem
Persistent ID https://codecheck.io/files/horstmann/codecheck-bj-4-inher-105
Platform Name CodeCheck
Features Code Completion
Description A Tile class extends Rectangle. It is to be used for non-overlapping tilings. Your task is to override the translate method so that it moves the tiles not by pixels but by tile dimensions. This figure shows the action of t.translate(1, -2).
Keywords Inheritance
Author Cay Horstmann
Institution San José State University
Iframe URL https://codecheck.io/files/horstmann/codecheck-bj-4-inher-105
Protocol SPLICE, LTI 1.1
Protocol URL
License https://creativecommons.org/licenses/by-nc-nd/4.0/
Programming Language Java
Natural Language en

Preview

SPLICE Output