public Conveyor(InfraType type, string name, Sprite sprite, float speed, PointF direction) : base(name, type, sprite, 10, "") { this.type = type; this.name = name; this.sprite = sprite; this.transportSpeedInPxPerMs = speed; this.price = 15; this.direction = direction; }
protected AbstractInfrastucture(string name, InfraType type, Sprite sprite, int amount, string buildCommand) { this.name = name; this.type = type; this.sprite = sprite; this.buildCommand = buildCommand; this.amount = amount; this.neighbors = new Dictionary <GameCell, AbstractInfrastucture>(); this.rawMaterials = new List <Material>(); this.gameCells = new List <GameCell>(); this.bottomLeftPosition = null; this.owner = null; this.level = 1; this.locker = new object(); }
public static void Add(Guid OrganizationId, InfraType InfraType, long amount, string message) { instance.Add(OrganizationId, InfraType, amount, message); }
public static bool Test(Guid OrganizationId, InfraType InfraType, long amount) { return(instance.Test(OrganizationId, InfraType, amount)); }
public bool Test(Guid OrganizationId, InfraType InfraType, long amount) { return(true); }
public void Add(Guid OrganizationId, InfraType InfraType, long Amount, string Item) { }