[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:00.43,0:00:05.90,Default,,0000,0000,0000,,Tani do te mesojme per if statements, if statements jane nje pjese kryesore e mesimit te Dialogue: 0,0:00:05.90,0:00:12.76,Default,,0000,0000,0000,,programimit. Ato e ndihmojne nje kompjuter te beje vendime. Te gjithe kompjuteret perdorin if statements, perfshire Dialogue: 0,0:00:12.76,0:00:19.31,Default,,0000,0000,0000,,edhe telefonin tim. Per shembull, kur une hapi telefonin tim, nje kod ekzekutohet i cili thote se Dialogue: 0,0:00:19.31,0:00:26.21,Default,,0000,0000,0000,,nese e fus fjalekalimin e duhur, ateher do te hapet telefoni. Nese jo ateher do te me tregoj permes nje mesazhi se telefoni nuk mund te hapet. Dialogue: 0,0:00:26.21,0:00:30.88,Default,,0000,0000,0000,,Ju mund poashtu te perdorni if statements ne kodin tuaj dhe te beni Steve dhe Alice te reagojne ne ate se cka shohin ne Dialogue: 0,0:00:30.88,0:00:38.27,Default,,0000,0000,0000,,bote. Per shembull, nese aty eshte nje gur perpara tyre, ata mund te kthehen ne anene e majte. Ose te kthehen Dialogue: 0,0:00:38.27,0:00:45.79,Default,,0000,0000,0000,,ne anen e djathte nese shohin nje peme. Ne kete rast, ne nuk deshirojme te biem ne llava. Dialogue: 0,0:00:45.79,0:00:50.80,Default,,0000,0000,0000,,Eshte e lehte te planifikojme per lavan. Mund ta shohim ne ekran. Mirpo cfar do te ndodh me lavan qe Dialogue: 0,0:00:50.80,0:00:55.11,Default,,0000,0000,0000,,eshte perfundi gurit? Pasi ta germojme gurin, duhet te shohim nese Dialogue: 0,0:00:55.11,0:01:02.11,Default,,0000,0000,0000,,ka lava ne ate vend perpara se te levizim tutje. Nese ka lava brenda, ne duhet te Dialogue: 0,0:01:02.11,0:01:08.65,Default,,0000,0000,0000,,vendosim nje gure perpara karakterit tone perpara se te levizim tutje. Ne ate menyre mund te levizm tutje pa problem. Dialogue: 0,0:01:08.65,0:01:15.50,Default,,0000,0000,0000,,Koha per te gerrmuar! Dhe mos harroni te perdorni if statements per te shikuar hapin tuaj.