static void varyBoxWithColor(BoxWithColor l, int w, int h) { int i = random(3); if (i == 0) l.a = varyPoint(l.a, w, h); else if (i == 1) l.b = varyPoint(l.b, w, h); else l.color = varyColor(l.color); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014954 |
| Snippet name: | varyBoxWithColor |
| Eternal ID of this version: | #1014954/2 |
| Text MD5: | 673e3f1009708c66846d58229211db5c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-06 18:07:53 |
| Source code size: | 214 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 587 / 628 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |