📄 cardattachment.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package cardmanager;/** * * @author zhaolin */public class CardAttachment implements java.io.Serializable, ICardAttachment { private int degree; private boolean[] favors; public CardAttachment() { favors = new boolean[6]; } public int getDegree() { return degree; } public void setDegree(int degree) { this.degree = degree; } public boolean isFavor(int index){ return favors[index]; } public void setFavor(int index){ favors[index] = true; } public void removeFavor(int index){ favors[index] = false; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -