Exemple #1
0
 public Node(string reference, GTASprite sprite, NodeType type)
 {
     Ref       = reference;
     Direction = TreeDirection.Auto;
     Type      = type;
     Sprite    = sprite;
 }
Exemple #2
0
 public Node(string reference, WeaponHash wepHash, GTASprite sprite, NodeType type)
 {
     Ref       = reference;
     Direction = TreeDirection.Auto;
     Type      = type;
     Sprite    = sprite;
     WepHash   = wepHash;
 }
Exemple #3
0
 public TiledPanel(string caption, GTASprite sprite, Color color, Action <int> activateAction, string description, params string[] extraInfo)
 {
     Color          = color;
     Description    = description;
     ExtraInfo      = extraInfo;
     Caption        = caption;
     Sprite         = sprite;
     ActivateAction = activateAction;
 }
Exemple #4
0
 public RPGMenu(string bannerCaption, GTASprite banner, IMenuItem[] items) : base("", items)
 {
     _banner        = banner;
     _bannerCaption = bannerCaption;
 }
Exemple #5
0
 public RPGListMenu(string bannerCaption, GTASprite banner, Action <RPGListMenu> activationAction, IMenuItem[] items) : base("", items)
 {
     _banner           = banner;
     _bannerCaption    = bannerCaption;
     _activationAction = activationAction;
 }