Joseph Posted July 20, 2014 Share Posted July 20, 2014 (edited) This is the class i use in my construction script. For the skill construction, it has two main interfaces, which are in the class. There is an interface that contains 3 slots. Then the other one that contains more then 3. Which varies from like 4 - 8. Pictures: Edited March 28, 2015 by Oliver 1 Link to comment Share on other sites More sharing options...
Precise Posted July 20, 2014 Share Posted July 20, 2014 Nice snippet man, great contribution ^_^ 1 Link to comment Share on other sites More sharing options...
Joseph Posted July 20, 2014 Author Share Posted July 20, 2014 (edited) Nice snippet man, great contribution Comments like this . Also hopefully people understand why i put int parent in the constructor Edited July 20, 2014 by josedpay 1 Link to comment Share on other sites More sharing options...
Dog_ Posted July 20, 2014 Share Posted July 20, 2014 (edited) this.containsThreeSlots = (parent == THREE_SLOTS) ? true: false Also change final static to static final Edited July 20, 2014 by dog_ 1 Link to comment Share on other sites More sharing options...
Joseph Posted July 20, 2014 Author Share Posted July 20, 2014 this.containsThreeSlots = (parent == THREE_SLOTS) ? true: false whats funny about it? Also change final static to static final wow, ive been doing this wrong all my life 1 Link to comment Share on other sites More sharing options...
Dog_ Posted July 20, 2014 Share Posted July 20, 2014 whats funny about it? wow, ive been doing this wrong all my life ? true : false Link to comment Share on other sites More sharing options...
Joseph Posted July 20, 2014 Author Share Posted July 20, 2014 ? true : false are you saying that im missing the semi colon? Link to comment Share on other sites More sharing options...
Dog_ Posted July 20, 2014 Share Posted July 20, 2014 are you saying that im missing the semi colon? no im saying you dont need to do that Link to comment Share on other sites More sharing options...
Joseph Posted July 20, 2014 Author Share Posted July 20, 2014 no im saying you dont need to do that ya that was a brain fart, i forget the defualt values is false . Thanks for that Link to comment Share on other sites More sharing options...
Dog_ Posted July 20, 2014 Share Posted July 20, 2014 ya that was a brain fart, i forget the defualt values is false . Thanks for that no problem this.containsThreeSlots = (parent == THREE_SLOTS); 1 Link to comment Share on other sites More sharing options...
Soldtodie Posted August 25, 2014 Share Posted August 25, 2014 wow, ive been doing this wrong all my life Its not wrong. 1 Link to comment Share on other sites More sharing options...
Swizzbeat Posted August 25, 2014 Share Posted August 25, 2014 Its not wrong. Yes it is. Link to comment Share on other sites More sharing options...
Dog_ Posted August 25, 2014 Share Posted August 25, 2014 Yes it is. It's not wrong in the sense that it won't work if he does it like that 1 Link to comment Share on other sites More sharing options...
Soldtodie Posted August 26, 2014 Share Posted August 26, 2014 It's not wrong in the sense that it won't work if he does it like that Yeah dog_ give this black dog a side kick! 1 Link to comment Share on other sites More sharing options...