szimulacio/SzimulacioOOP/Benzinkut.cs

35 lines
736 B
C#
Raw Permalink Normal View History

2024-09-24 11:00:05 +00:00
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; }
2024-10-01 11:00:31 +00:00
public Benzinkut()
{
Kassza = 0;
BenzinAr = 480;
Random rd = new Random();
Keszlet = rd.NextDouble() * 2000 + 55;
}
2024-09-24 11:00:05 +00:00
public bool Tankolas(Auto kocsi)
{
return false;
}
public void Fizetes(Sofor vezeto)
{
}
}
}