1 | !7 |
2 | |
3 | abstract sclass DynSCPWithInput extends DynSCP { |
4 | InputChooser inputChooser = new(this); |
5 | |
6 | visualize { ret northAndCenter(wrap(inputChooser), super.visualize()); } |
7 | |
8 | abstract void update(S input); |
9 | |
10 | void update { |
11 | if (inputChooser.update()) |
12 | update(inputChooser.input()); |
13 | } |
14 | } |
Began life as a copy of #1017191
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017393 |
Snippet name: | DynSCPWithInput |
Eternal ID of this version: | #1017393/1 |
Text MD5: | cbfc0bb0ef634f7a9abdc829f3f9146d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-19 18:02:39 |
Source code size: | 310 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 433 / 991 |
Referenced in: | [show references] |