Joseph Posted July 20, 2014 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
Joseph Posted July 20, 2014 Author 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
Dog_ Posted July 20, 2014 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
Joseph Posted July 20, 2014 Author 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
Dog_ Posted July 20, 2014 Posted July 20, 2014 whats funny about it? wow, ive been doing this wrong all my life ? true : false
Joseph Posted July 20, 2014 Author Posted July 20, 2014 ? true : false are you saying that im missing the semi colon?
Dog_ Posted July 20, 2014 Posted July 20, 2014 are you saying that im missing the semi colon? no im saying you dont need to do that
Joseph Posted July 20, 2014 Author 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
Dog_ Posted July 20, 2014 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
Soldtodie Posted August 25, 2014 Posted August 25, 2014 wow, ive been doing this wrong all my life Its not wrong. 1
Dog_ Posted August 25, 2014 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
Soldtodie Posted August 26, 2014 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