Commit ab689bc0 authored by Lukas Marik's avatar Lukas Marik

#945 create protocol text for last round in bonus difficulty, set outline...

#945 create protocol text for last round in bonus difficulty, set outline detection rect for bonus objects
parent 5a6f441b
......@@ -178,8 +178,14 @@ public class OutLineGroup extends Group {
}
private float[] getRectDescriptor(TypeObjectDescriptor type) {
if (type.getOriginType() == FurnitureType.HARD_SMALL_TABLE.getOriginType() || type.getOriginType() == FurnitureType.HARD_BIG_TABLE.getOriginType()) {
if (type.getOriginType() == FurnitureType.HARD_SMALL_TABLE.getOriginType() ||
type.getOriginType() == FurnitureType.HARD_BIG_TABLE.getOriginType() ||
type.getOriginType() == FurnitureType.BONUS_BIG_TABLE.getOriginType() ||
type.getOriginType() == FurnitureType.BONUS_SMALL_TABLE.getOriginType()) {
return new float[]{0.0f, 0.4f};
}else if(type.getOriginType() == GameObjectType.CHESS_TABLE.getOriginType() ||
type.getOriginType() == GameObjectType.TABLE.getOriginType()){
return new float[]{0.0f, 0.58f};
}
return new float[]{0.0f, 0.0f};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment