public Item(Vector2 positionCell, IEquipableComponent ec, IConsumableComponent cc, IActivableComponent ac) : base(positionCell) { this.VisitedColor = new Color(125, 125, 125); this.equipableComponent = ec; this.cc = cc; this.ac = ac; }
public Cell(GameEngine game, Vector2 p, IWalkable w, IActivableComponent ac, IEnterExitComponent ee, string spriteName) : base(p) { this.walkableComponent = w; this.ac = ac; this.eeComponent = ee; this.AttachDrawingComponant(game, spriteName, 1F); }