mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-07-04 15:27:30 +07:00
Removed content, ultimately not needed
This commit is contained in:
@ -1,32 +1,3 @@
|
||||
package com.riiablo.attributes;
|
||||
|
||||
import com.riiablo.logger.LogManager;
|
||||
import com.riiablo.logger.Logger;
|
||||
|
||||
public class GemAttributes extends AggregateAttributes {
|
||||
private static final Logger log = LogManager.getLogger(GemAttributes.class);
|
||||
|
||||
int selected = -1;
|
||||
int flags = StatListFlags.FLAG_NONE;
|
||||
|
||||
public int selectedList() {
|
||||
return selected;
|
||||
}
|
||||
|
||||
public int selectedFlags() {
|
||||
return flags;
|
||||
}
|
||||
|
||||
public void select(int selected) {
|
||||
if (this.selected >= 0 && selected != this.selected) {
|
||||
log.warn("this.selected({}) already set", this.selected);
|
||||
}
|
||||
|
||||
this.selected = selected;
|
||||
this.flags = 1 << selected;
|
||||
}
|
||||
|
||||
public StatListGetter selected() {
|
||||
return list(selected);
|
||||
}
|
||||
}
|
||||
public class GemAttributes extends AggregateAttributes {}
|
||||
|
Reference in New Issue
Block a user