public MyTank(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Yellow; } }
public River(Element element, API.Components.Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Blue; } }
public Ice(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.White; } }
public AiTank(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.DarkGray; } }
public BasePrize(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Orange; } }
public Blast(Element element, API.Components.Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Brown; } }
public AiPrizeTank(Element element, Point point) : base(element, point) { IsPrize = true; //if (AppSettings.DrawBaseBorders) BorderColor = Color.Orange; }
public EnemyTank(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Green; } }
public BaseWall(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Brown; } }
public Tree(Element element, API.Components.Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.DarkGreen; } }
public Bullet(Element element, Point point) : base(element, point) { if (AppSettings.DrawBaseBorders) { BorderColor = Color.Red; } //AddNote("0", Brushes.Red); }
public BasePrediction Add(PredictionType type, int depth, Point point, List <Command> commands = null, BaseItem item = null) { var prediction = PredictionFactory.Get(type, depth, point, commands, item); switch (type) { case PredictionType.AiMove: AiMovePredictions.Add((AiMovePrediction)prediction); break; case PredictionType.AiShot: AiShotPredictions.Add((AiShotPrediction)prediction); break; case PredictionType.Bullet: BulletPredictions.Add((BulletPrediction)prediction); break; case PredictionType.EnemyMove: EnemyMovePredictions.Add((EnemyMovePrediction)prediction); break; case PredictionType.EnemyShot: EnemyShotPredictions.Add((EnemyShotPrediction)prediction); break; case PredictionType.MyMove: MyMovePredictions.Add((MyMovePrediction)prediction); break; case PredictionType.MyShot: MyShotPredictions.Add((MyShotPrediction)prediction); break; case PredictionType.MyKill: MyKillPredictions.Add((MyKillPrediction)prediction); break; case PredictionType.DangerCell: DangerCellPredictions.Add((DangerCellPrediction)prediction); break; default: throw new NotImplementedException(); } return(prediction); }
protected BaseTank(Element element, Point point) : base(element, point) { SetHealthNote(); InitIsStuck(); }
protected BaseItem(Element element, Point point) { Element = element; Point = point; }
public Cell(int i, int j) { Point = new Point(i, j); }
//public bool IsMyBullet { get; set; } public Bullet(Element element, Point point) : base(element, point) { BorderColor = Color.Red; //AddNote("0", Brushes.Red); }