I’d probably have a command “Zig”, which schedules “Zag” on execution, and vice versa. If the delay and speed are inherited, that means you can reuse the command for other types of bullets.
But if I wanted a wide variety of bullets, I might give each a reference to a looped list and an iterator variable for each bullet to track which command is next.
I’d probably have a command “Zig”, which schedules “Zag” on execution, and vice versa. If the delay and speed are inherited, that means you can reuse the command for other types of bullets.
But if I wanted a wide variety of bullets, I might give each a reference to a looped list and an iterator variable for each bullet to track which command is next.
Comment by Elaborate — November 13, 2020 @ 11:10 am