ale su jedini, ktori maju realny tento konkretny hardware (atlas 5-551)

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Zobrazi� pr�spevky Menu
begin constructor
int doorInterval = random.int()
...
end constructor
begin checkEverySecond
doorIntervalCounter++
if (doorIntervalCounter == doorInterval) then
door.openClose()
doorIntervalCounter = 0
end if
end checkEverySecond
Quote
Implementujte metódu act() v triede Key nasledovne:
získajte inštanciu hráča
ak sa pozícia kľúča prekrýva s pozíciou hráča, pridajte predmet do batohu a odoberte predmet zo sveta
Player player = world.GetPlayer();
if (player.Intersects(this)) {
Backpack backpack = player.GetBackpack();
backpack.Add(this);
world.Remove(this);
}
Quote from: lecter on 01.12.2012, 16:01:16
Najlepsie, ked si to pisu druhaci
Quotev com moze byt chyba?
Quote from: nighthunter on 27.11.2012, 02:46:15
picoviny tu riesite na 10 stranach !!!
Silvusik, daj mi cislo (telefonu, ne topanok)