35 lines
736 B
C#
35 lines
736 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SzimulacioOOP
|
|
{
|
|
internal class Benzinkut
|
|
{
|
|
public double Keszlet { get; set; }
|
|
public double BenzinAr { get; set; }
|
|
public double Kassza { get; set; }
|
|
|
|
|
|
public Benzinkut()
|
|
{
|
|
Kassza = 0;
|
|
BenzinAr = 480;
|
|
Random rd = new Random();
|
|
Keszlet = rd.NextDouble() * 2000 + 55;
|
|
|
|
}
|
|
public bool Tankolas(Auto kocsi)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public void Fizetes(Sofor vezeto)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|