gui einheit_action
This commit is contained in:
parent
45fca04750
commit
5dd93bd84a
4
gui.pl
4
gui.pl
@ -291,7 +291,6 @@ update_controls :-
|
||||
process_move_unit(FromX, FromY, ToX, ToY, Controls) :-
|
||||
game_control(Controls),
|
||||
|
||||
|
||||
get(FromX, selection, FX),
|
||||
get(FromY, selection, FY),
|
||||
get(ToX, selection, TX),
|
||||
@ -301,7 +300,8 @@ process_move_unit(FromX, FromY, ToX, ToY, Controls) :-
|
||||
atom_number(FY, FY2),
|
||||
atom_number(TX, TX2),
|
||||
atom_number(TY, TY2),
|
||||
einheit_move(FX2, FY2, TX2, TY2),
|
||||
|
||||
einheit_action(FX2, FY2, TX2, TY2),
|
||||
update_controls,
|
||||
spielfeld.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user