sclass RandomAndVary_RGBInt implements RandomAndVary<Int> { public Int randomInstance() { ret randomColor().asInt(); } public Int varyInstance(Int color) { ret varyColor(RGB(color)).asInt(); } }
Began life as a copy of #1022937
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022945 |
Snippet name: | RandomAndVary_RGBInt |
Eternal ID of this version: | #1022945/5 |
Text MD5: | 7ad23e3c805a1e3a7d01314ee16a2c89 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-15 03:09:52 |
Source code size: | 201 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 330 / 734 |
Version history: | 4 change(s) |
Referenced in: | [show references] |