ikony produktow
This commit is contained in:
parent
a625873f75
commit
dccf150887
6
cozrobic.txt
Normal file
6
cozrobic.txt
Normal file
@ -0,0 +1,6 @@
|
||||
> tablica na ilość produktów
|
||||
> znalezienie fontu z ikonami
|
||||
> funkcja do wypełniania tej tablicy (usunąć losowanie wartości z drawProducts() )
|
||||
> funckja do odbierania ilości produktów od robota
|
||||
> funkcja do usuwania losowej ilości produktów
|
||||
> funkcja do zamieniania miejscami produktów na półkach (5% szansy)
|
@ -26,51 +26,71 @@ class Product {
|
||||
|
||||
static get REGISTRY() {
|
||||
// in alphabetical order
|
||||
//baby, camp, cat, car, cleaning, cloathes, cocktail, dog, electronic, glas, haunting
|
||||
//kitchen, moving, newborn, swimming, winter, toilet, religion, party
|
||||
//40
|
||||
return {
|
||||
empty: new Product('', ''),
|
||||
airFrashener: new Product('airFrashener', 'fa-wind'),
|
||||
apple: new Product('apple', 'fa-apple-alt'),
|
||||
babyAccessories: new Product('babyAccessories','fa-baby-carriage'),
|
||||
bacon: new Product('bacon', 'fa-bacon'),
|
||||
bandAid: new Product('bandAid', 'fa-band-aid'),
|
||||
basketballBall: new Product('basketballBall', 'fa-basketball-ball'),
|
||||
beer: new Product('beer','fa-beer'),
|
||||
bell: new Product('bell','fa-bell'),
|
||||
bicycle: new Product('bicycle','fa-bicycle'),
|
||||
bone: new Product('bone', 'fa-bone'),
|
||||
book: new Product('book', 'fa-book'),
|
||||
bread: new Product('bread', 'fa-bread-slice'),
|
||||
bread: new Product('bread','fa-bread-slice'),
|
||||
cake: new Product('cake', 'fa-birthday-cake'),
|
||||
calculator: new Product('calculator', 'fa-calculator'),
|
||||
calendar: new Product('calendar', 'fa-calendar'),
|
||||
camera: new Product('camera','fa-camera'),
|
||||
campAccessories: new Product('campAccessories','fa-campground'),
|
||||
candyCane: new Product('candy cane', 'fa-candy-cane'),
|
||||
carrot: new Product('carrot', 'fa-carrot'),
|
||||
carrot: new Product('carrot','fa-carrot'),
|
||||
catAccessories: new Product('catAccessories','fa-cat'),
|
||||
camera: new Product('camera','fa-camera'),
|
||||
carAccessories: new Product('carAccessories','fa-car'),
|
||||
cigarettes: new Product('cigarettes', 'fa-smoking'),
|
||||
chair: new Product('chair', 'fa-chair'),
|
||||
charger: new Product('charger', 'fa-battery-half'),
|
||||
cheese: new Product('cheese', 'fa-cheese'),
|
||||
chess: new Product('chess', 'fa-chess'),
|
||||
cleaningSupplies: new Product('cleaningSupplies', 'fa-broom'),
|
||||
cloathesAccessories: new Product('cloathesAccessories','fa-glasses'),
|
||||
cocktailSupplies: new Product('cocktailSupplies','fa-cocktail'),
|
||||
coffee: new Product('cofee','fa-coffee'),
|
||||
contactLenses: new Product('contactLenses', 'fa-eye'),
|
||||
cookie: new Product('cookie','fa-cookie'),
|
||||
couch: new Product('couch', 'fa-couch'),
|
||||
coughSyrop: new Product('coughSyrop', 'fa-lungs'),
|
||||
cheese: new Product('cheese', 'fa-cheese'),
|
||||
cloathesAccessories: new Product('cloathesAccessories','fa-glasses'),
|
||||
cookie: new Product('cookie', 'fa-cookie'),
|
||||
dictionary: new Product('dictionary', 'fa-language'),
|
||||
dogAccessories: new Product('dogAccessories','fa-dog'),
|
||||
drinks: new Product('drinks', 'fa-glass-whiskey'),
|
||||
drone:new Product('drone','fa-plane'),
|
||||
drone: new Product('drone','fa-plane'),
|
||||
drum: new Product('drum', 'fa-drum'),
|
||||
envelope: new Product('envelope', 'fa-envelope'),
|
||||
egg: new Product('egg','fa-egg'),
|
||||
electronicAccessories: new Product('electronicAccessories','fa-bolt'),
|
||||
eraser: new Product('eraser','fa-eraser'),
|
||||
extinguisher: new Product('extinguisher','fa-fire'),
|
||||
firstAid: new Product('firstAid','fa-first-aid'),
|
||||
fish: new Product('fish','fa-fish'),
|
||||
gamepad: new Product('gamepad', 'fa-gamepad'),
|
||||
giftWrapping: new Product('giftWrapping', 'fa-gift'),
|
||||
glassAccessories: new Product('glassAccessories','fa-wine-glass'),
|
||||
gps: new Product('gps','fa-street-view'),
|
||||
guitar: new Product('guitar','fa-guitar'),
|
||||
hamburger: new Product('hamburger', 'fa-hamburger'),
|
||||
hammer: new Product('hammer', 'fa-hammer'),
|
||||
halloweenAccessories: new Product('halloweenAccessories', 'fa-ghost'),
|
||||
hauntingAccessories: new Product('hauntingAccessories','fa-binoculars'),
|
||||
headphones: new Product('headphones','fa-headphones'),
|
||||
highlighter: new Product('highlighter','fa-highlighter'),
|
||||
hotdog: new Product('hotdog','fa-hotdog'),
|
||||
homeSecurity: new Product('homeSecurity','fa-key'),
|
||||
hotdog: new Product('hotdog','fa-hotdog'),
|
||||
icecream: new Product('icecream','fa-ice-cream'),
|
||||
insecticide: new Product('insecticide','fa-spider'),
|
||||
jewelry: new Product('jewelry','fa-gem'),
|
||||
@ -78,32 +98,52 @@ class Product {
|
||||
kitchenSupplies: new Product('kitchenSupplies', 'fa-blender'),
|
||||
laptop: new Product('laptop', 'fa-laptop'),
|
||||
lemon: new Product('lemon','fa-lemon'),
|
||||
lightbulb: new Product('lightbulb', 'fa-lightbulb'),
|
||||
microphone: new Product('microphone', 'fa-microphone'),
|
||||
mask: new Product('mask', 'fa-head-side-mask'),
|
||||
monitor: new Product('monitor', 'fa-desktop'),
|
||||
movingAccessories: new Product('movingAccessories','fa-boxes'),
|
||||
newbornAccessorries: new Product('newbornAccessorries','fa-baby-carriage'),
|
||||
newspaper: new Product('newspaper','fa-newspaper'),
|
||||
paintBrush: new Product('paintBrush','fa-paint-brush'),
|
||||
paintRoller: new Product('paintRoller', 'fa-paint-roller'),
|
||||
paper: new Product('paper','fa-paperclip'),
|
||||
partyAccessories: new Product('partyAccessories','fa-glass-cheers'),
|
||||
pen: new Product('pen','fa-pen'),
|
||||
pepper: new Product('pepper','fa-pepper-hot'),
|
||||
personalSafetyAccessories: new Product('personalSafetyAccessories','fa-fingerprint'),
|
||||
piggyBank: new Product('piggyBank', 'fa-piggy-bank'),
|
||||
pills: new Product('pills','fa-pills'),
|
||||
pizza: new Product('pizza','fa-pizza-slice'),
|
||||
plants: new Product('plants','fa-seedling'),
|
||||
printer: new Product('printer','fa-print'),
|
||||
pen: new Product('pen','fa-pen'),
|
||||
personalSafetyAccessories: new Product('personalSafetyAccessories','fa-fingerprint'),
|
||||
puzzle: new Product('puzzle', 'fa-puzzle-piece'),
|
||||
religionAccessories: new Product('religionAccessories','fa-pray'),
|
||||
ruler: new Product('ruler', 'fa-ruler'),
|
||||
runningAccessories: new Product('runningAccessories','fa-running'),
|
||||
sanitizer: new Product('sanitizer', 'fa-spray-can'),
|
||||
scissors: new Product('scissors', 'fa-cut'),
|
||||
seeds: new Product('seeds', 'fa-seedling'),
|
||||
skatingAccessories: new Product('skatingAccessories','fa-skating'),
|
||||
skiingAccessories: new Product('skiingAccessories','fa-skiing'),
|
||||
soap: new Product('soap','fa-pump-soap'),
|
||||
spaAccessories: new Product('spaAccessories','fa-spa'),
|
||||
sportCloathes: new Product('sportCloathes','fa-futbol'),
|
||||
stamp: new Product('stamp', 'fa-stamp'),
|
||||
suitcase: new Product('suitcase', 'fa-suitcase-rolling'),
|
||||
summerHoliday: new Product('summerHoliday','fa-umbrella-beach'),
|
||||
sunscreen: new Product('sunscreen','fa-sun'),
|
||||
swimmingAccessories: new Product('swimmingAccessories','fa-swimmer'),
|
||||
thermometer: new Product('thermometer', 'fa-thermometer'),
|
||||
toiletSupplies: new Product('toiletSupplies','fa-toilet-paper'),
|
||||
tools: new Product('tools','fa-wrench'),
|
||||
toothpaste: new Product('toothpaste', 'fa-tooth'),
|
||||
toys: new Product('toys','fa-horse'),
|
||||
trashBin: new Product('trashBin', 'fa-trash'),
|
||||
tv: new Product('tv', 'fa-tv'),
|
||||
umbrella: new Product('umbrella', 'fa-umbrella'),
|
||||
vinyl: new Product('vinyl', 'fa-record-vinyl'),
|
||||
volleyballBall: new Product('volleyballBall', 'fa-volleyball-ball'),
|
||||
wine: new Product('wine','fa-wine-bottle'),
|
||||
winterCloathes: new Product('winterCloathes','fa-mitten'),
|
||||
winterHoliday: new Product('winterHoliday','fa-tree')
|
||||
|
Loading…
Reference in New Issue
Block a user