![]() cDefaultPlaces | Default number of parking places in the garage. |
![]() cDefaultPrice | Default price per hour in the parking garage. |
ParkingGarage Constructor
|
Default constructor |
Cell | Gets the cell that is the entry of the current parking garage. |
FillCell | Gets a boolean indicating if the cell should be filled. |
Id | Gets the pseudo-unique id of the parking garage. |
Indicator | Gets the legend indicator to draw. |
IsFree | Gets a boolean that indicates that the parking place is free. |
IsFull | Gets a boolean that indicates whether the parking place is full. |
IsOccupied | Gets a boolean that indicates whether the parking places occupied plus reservation fill the capacity of the garage. |
IsReserved | Gets a boolean that indicates whether the parking places occupied plus reservation fill the capacity of the garage. |
Lane | Gets or sets the lane at which the parking garage is located. |
Places | Get or sets the number of places in the garage. |
PlacesFree | Gets the number of places free in the garage |
PricePerHour | Gets or sets the price per hour. |
SideColor | The color to fill the objects cell with |
VehiclesParked | Gets the number of vehicles parked in the garage |
EjectVehicleOnRoad | Ejects a vehicle from the parking place and inserts in onto the road. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ParkVehicle | Parks a vehicle on the parking place. |
Reserve | Reserves the parking place for a certain vehicle. |
Reset | Resets the parking garage. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
_Cell | The cells occupied by the garage. |
_Id | The pseudo unique id of the parking garage. |
_Lane | The lane alongside which the garage resides. |
_Occupied | The number of places occupied. |
_Places | The number of places in the garage. |
_PricePerHour | The parking price per hour. |
_Reservations | The number of parking places reserved. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
ParkingGarage Class | CBPRS.Parking Namespace