Rev 220 | Rev 255 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 220 | Rev 252 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | 26 | ||
Line -... | Line 27... | ||
- | 27 | ||
- | 28 | abstract public void set_field_from_act(int pos,int val); |
|
- | 29 | ||
- | 30 | ||
- | 31 | public void field_from_act_add_min_max(int pos,int val,int min,int max) |
|
- | 32 | { |
|
27 | 33 | if (((get_field_from_act(pos)+val)>=min)&&((get_field_from_act(pos)+val)<=max)) |
|
28 | abstract public void set_field_from_act(int pos,int val); |
34 | set_field_from_act(pos , get_field_from_act(pos)+val); |
29 | 35 | } |
|
30 | 36 |