so that's cool but i want to have something that moves without
taking your time you mean some animation
let let's have some english ok so
we have a little bit here what we need now is
the draw method ok we had it all the time but there was anything
in it and actually that's really important that if you want
to use the most little stuff like that you need
to have the the promise that here
because i was doesn't work so even if there's nothing in it
you need that so now we added something
in this method you we'd rather rating
and it will be whites because we're filled with what kind of
one hundred fifty five as white and then
we have it at a random position between
zero and one hundred and on the exposition and
c one one hundred on y so it kind of jump around
it and it's ten but so that's all we are that
we learned nothing else than sol sont run it
wait a second gs
same problem again and we can agree on can we can take and
the background a strong again as so it also the test changes
color that don't go right i stop you once more
i think understood we need to pay the but not
in the promises right yes that's it so we need to move this
line up here and that's the first
thing we whole feed back from you and then in the next
framework ok so on we run and we run it
can take signal yeah but had such better there's
how is on that no work is all conversation
ok c they are coming through
but that's not really anyone
the background is all the way painted overall
role things we have when we call the object method fire
pressing the button and thus changing your model updating the
observer updating the model so yeah the problem
is with processing you cannot really do kind of
the classic model you control so what we
need to do here and this kind of what we will also give us
the as a framework to start with the project so
it's minimal but it gives you kind of
sort of a model you control framework
we need to call the update method off the use in the
drawn it doesn't work another way
so we go to the counter that's what we need
and they don't mean that we don't back
three ev and now we need to called was we can do it like
this here so is kind of the
the was
called remember current of
but we do not have the come on that
yes i don't know what is kind of a little hardly
handy then we didn't then we move from
put push but we won't we do that so
i mean what we can do here all of is we
say and we need it is as you remember so
have a local variable or we can have local variable
of current x or in column here
kansas where the variable name we already have
and is we need to model
no we are get caught
now we are pulling again all the time here is
that this is ok what it is
just noting is yeah we at the end
at the very end of this thing we will come show you how to
clean them myself ok again let's save it we run
it i want to see what happens so we have the method
with that it is go look
turned to on earth at the counters the behind
or you are directing any less kind of just
to show it that it it's kind of just
switch piece
are there registered in another order on
actually that doesn't have anything what we need
what we need to do is this to switch to scales
you know using the observer in it
or when we are using it but it doesn't help because we are
painting over a little yeah
we already know is the small yeah it comes small
black on soul company to stop here again
my own soul that's when as the now we've got kind of a lot
of self that is obsolete he always your whole
observers they are also thing doesn't have us
at all anymore so what we can do here it is
we goal to the condyle and we can
remove basically this on as
a means but you will see it will come
any again when we use not a good framework so it's not a moving
that you learned about that now the counter doesn't
do is just a little don't implement the subject
anymore and we do not know the for so was also
obsolete and we don't need to observe as ok
so and it is so we can organize imports
shift command where the way we can you shortcut warsaw's
organising imports is so contra
we don't need to count anymore in new
because we don't register
in our we can remove there's
no no we can't we still need to display
the value yes we separate is it this plate it's really just
remove the counter from the so called yeah
we i mean we basically we also could remove completed
so but we can kind of just keep it and then we
just remove this like that makes a little
bit easier if you want to go further and
cleaning up you can do that and so we
were very remove the counter
it's or course to to remove all that
here we are no we think we
know that the observer can guess we have to remove the subject
to need more contribution same
year learn where to do it all the way
for all the views this is a really e lee
impressive demonstration of how great
and last but not least the doesn't it conference long
but no it to run what it
hopes of at least compilers soulless c
good yes is the there
have ok that's it for now