public ExampleAction(uint _uid, PlayerActionComp _parent)
     : base(_uid, _parent)
 {
     name        = "Stab";
     description = "Stab someone with one of the many hidden knifes you carry around.";
     icon        = "action_stab";
 }
Example #2
0
 public ExampleAction(uint _uid, PlayerActionComp _parent)
     : base(_uid, _parent)
 {
     name = "Stab";
     description = "Stab someone with one of the many hidden knifes you carry around.";
     icon = "action_stab";
 }
Example #3
0
 public PlayerActionsWindow(Size size, IResourceManager resourceManager, PlayerActionComp _assignedComp)
     : base("Player Abilities", size, resourceManager)
 {
     uiMgr                 = IoCManager.Resolve <IUserInterfaceManager>();
     assignedComp          = _assignedComp;
     assignedComp.Changed += assignedComp_Changed;
     Position              = new Point((int)(Gorgon.CurrentRenderTarget.Width / 2f) - (int)(ClientArea.Width / 2f),
                                       (int)(Gorgon.CurrentRenderTarget.Height / 2f) - (int)(ClientArea.Height / 2f));
     assignedComp.CheckActionList();
     PopulateList();
 }
Example #4
0
 private void assignedComp_Changed(PlayerActionComp sender)
 {
     PopulateList();
 }