Detective.Detective C# (CSharp) Method

Detective() public method

public Detective ( string name, int id ) : System.Collections
name string
id int
return System.Collections
    public Detective(string name, int id)
        : base(name,id)
    {
        _tickets.Add(TransportType.taxi, 10);
        _tickets.Add(TransportType.bus, 8);
        _tickets.Add(TransportType.underground, 4);
    }