| 435 | } |
| 436 | |
| 437 | Point GetRandomAvailableItemPosition() |
| 438 | { |
| 439 | Point position = {}; |
| 440 | do { |
| 441 | position = Point { GenerateRnd(80), GenerateRnd(80) } + Displacement { 16, 16 }; |
| 442 | } while (!ItemPlace(position)); |
| 443 | |
| 444 | return position; |
| 445 | } |
| 446 | |
| 447 | void AddInitItems() |
| 448 | { |
no test coverage detected