22 lines
671 B
C#
22 lines
671 B
C#
using ProjectGasolineTanker.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ProjectGasolineTanker.Entities
|
|
{
|
|
public class EntityGasolineTanker : EntityTruck
|
|
{
|
|
public Color Body { get; private set; }
|
|
public bool Tank { get; private set; }
|
|
public bool Wheel { get; private set; }
|
|
public EntityGasolineTanker(int speed, double weight, Color bodyColor, Color additionalColor, bool tank, bool wheel) : base(speed, weight, bodyColor)
|
|
{
|
|
Body = additionalColor;
|
|
Tank = tank;
|
|
Wheel = wheel;
|
|
}
|
|
}
|
|
} |