public order(int table, int waiter, int arg_client) { cost = 0; waiter_id = waiter; client cli = new client(arg_client); client = cli; check ch = new check(); check = ch; id = 0; }
public order(int arg_table, int waiter) { cost = 0; waiter_id = waiter; check ch = new check(); table = new table(arg_table); check = ch; id = 0; }