public PanelImage(Panel parent, ImageTinted img = null) : base(parent) { Size = img.Size; Image = img; OnResize += () => { if (Image != null) Image.Size = Size; }; }
public Button(Map map, ImageTinted img) : base(map, img) { ColourHovered.ValueInactive = Color.White; ColourHovered.ValueActive = Color.Gray; ColourDepressed = Color.DimGray; OnResize += () => Content.Size = Size; }
public GraphicEntity(Tile t, ImageTinted img, bool solid = false) : base(t, solid) { Image = img; }
public Weapon(Tile t, ImageTinted img) : base(t, img) { }
public Item(Tile t, ImageTinted img, bool collidable = false) : base(t, img, collidable) { OnDrop(); }