接口 Shearable
public interface Shearable
代表一个可以被剪刀剪毛的实体.
-
方法概要
-
方法详细资料
-
isSheared
boolean isSheared()获取实体是否处于已剪毛状态.原文: Gets whether the entity is in its sheared state.
- 返回:
- 实体是否已剪毛
-
setSheared
void setSheared(boolean flag) 设置实体是否处于已剪毛状态.原文: Sets whether the entity is in its sheared state.
- 参数:
flag- 是否剪毛
-