1.0
This commit is contained in:
parent
c913a06626
commit
6b543de74e
@ -2,13 +2,13 @@ import java.awt.*;
|
||||
|
||||
public class DrawningCatamaranPaddle {
|
||||
private PaddlesCount _paddlesCount;
|
||||
private EntityCatamaran _entityCatamaran;
|
||||
private final EntityCatamaran _entityCatamaran;
|
||||
public DrawningCatamaranPaddle(EntityCatamaran entityCatamaran) {
|
||||
_entityCatamaran = entityCatamaran;
|
||||
}
|
||||
|
||||
public void setEnumNumber(int paddlesCount) {
|
||||
for (PaddlesCount val : _paddlesCount.values()) {
|
||||
for (PaddlesCount val : PaddlesCount.values()) {
|
||||
if (val.enumNumber == paddlesCount) {
|
||||
_paddlesCount = val;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user