Skip to content
Advertisement

Tag: decorator

Having issues calling a decorator method (Java)

Working on a group project that is essentially a text-based Pokemon rip-off. My classmates and I were given a UML to work from so I can’t accept any solutions that would add methods or change their parameters. But essentially the issue we’re running into is this: There is a singleton PokemonGenerator class, that has a method generateRandomPokemon(int level) that picks

Advertisement