SimeMobileCity 0.1
  • API
  • Workflow
  • Site
    • Page
        • Car

    Car¶

    class simemobilecity.car.Car(size, ident='')¶

    This class defines a car.

    Parameters:
    size : float

    Battery size in kWh

    ident : string, optional

    Optional car name

    Methods

    get_ident() Return car name.
    get_size() Return battery size.
    set_ident(val) Set car name.
    set_size(val) Set battery size.

    Back to top

    © Copyright 2021, Hamzeh Kraus.
    Created using Sphinx 1.6.6.