Closed pangrwa closed 1 year ago
Action
implements Repeatable
.
Action
s are added to History
as Repeatable
(referring to the code snippet for History
).
Hence, I believe the answer to your question would be no. History
does not know about Action
, it just knows about Repeatable
(which Action
implements).
@pangrwa where's this video from?
In this question, it was mentioned that
ActionFactory
addsActionX
andActionY
intoHistory
, is it possible to put an association/dependency fromHistory
->Action
. Since forHistory
to be able to receiveActionX
andActionY
, it should be associated toAction
am I right?