Uses of Enum Class
epidemic.model.SpeciesType
Packages that use SpeciesType
-
Uses of SpeciesType in epidemic
Methods in epidemic with parameters of type SpeciesTypeModifier and TypeMethodDescriptionprivate static voidMain.spawnAnimals(WorldMap world, AgentFactory factory, SpeciesType type, int count, boolean startSick, Virus virus, Random random) -
Uses of SpeciesType in epidemic.factory
Methods in epidemic.factory with parameters of type SpeciesTypeModifier and TypeMethodDescriptionAgentFactory.createAnimal(Point2D pos, int age, double baseSpeed, SpeciesType type, MovementStrategy strategy) Tworzy nowego agenta zwierzęcego określonego gatunku.private AnimalAgentFactory.createAnimalOffspring(Point2D pos, SpeciesType type, Animal a, MovementStrategy strategy) -
Uses of SpeciesType in epidemic.model
Fields in epidemic.model declared as SpeciesTypeMethods in epidemic.model that return SpeciesTypeModifier and TypeMethodDescriptionAgent.getSpeciesType()static SpeciesTypeReturns the enum constant of this class with the specified name.static SpeciesType[]SpeciesType.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in epidemic.model with parameters of type SpeciesTypeModifierConstructorDescriptionAgent(Point2D position, int age, SpeciesType speciesType, double baseSpeed, MovementStrategy movementStrategy) Inicjalizuje nowego agenta z podstawowymi parametrami biologicznymi.Animal(Point2D position, int age, SpeciesType speciesType, double baseSpeed, MovementStrategy movementStrategy) Inicjalizuje nową faunę w ekosystemie na wyznaczonych parametrach fizykalnych.