class_resource - AiAUJI/PAUSETA GitHub Wiki

Resource

Description

A Resource is an entity that has its own characteristics and it is useful for an emergency i.e. quick ambulance.

Member functions

  • Resource()
  • Resource(String id, String type, Agency owner, Location location, double value)

Member variables

  • UUID id
  • String type
  • Agency owner
  • Location location
  • double value

Member functions description

Resource()
Default constructor.

Resource(String id, String type, Agency owner, Location location, double value)
Constructor.

Member variables description

id
Unique id of the resource

type
Type of the resource (i.e. quick ambulance, police car...)

owner
Owner of the resource (i.e. Hospital general)

location
Current location of the resource (i.e. 3th avenue)

value
Value of the resource.