zmiany ustawien domyslnych na angielskie nazwy
This commit is contained in:
parent
0da7ccae42
commit
cd5efc6921
@ -30,10 +30,10 @@ const Hero = () => {
|
||||
var stricers = new Array;
|
||||
var defenders = new Array;
|
||||
|
||||
const [bodyPart,setBodyPart] = useState('prawa');
|
||||
const [technique,setTechnique] = useState('zwykly');
|
||||
const [actionType,setActionType] = useState('pozycyjny');
|
||||
const [shooterPossition,setPossition] = useState('napastnik');
|
||||
const [bodyPart,setBodyPart] = useState('Right Foot');
|
||||
const [technique,setTechnique] = useState('Normal');
|
||||
const [actionType,setActionType] = useState('Open Play');
|
||||
const [shooterPossition,setPossition] = useState('Center Forward');
|
||||
|
||||
//zamiana procentowych pozycji na kartezyjskie
|
||||
function konwerturX(x){
|
||||
@ -219,7 +219,6 @@ const Hero = () => {
|
||||
//var shooterX = konwerturX(ball.style.left)
|
||||
//var shooterY = konwetujY(ball.style.top)
|
||||
posytion.innerHTML = "x:" + konwerturX(ball.style.left) + "m " + "y:" + konwetujY(ball.style.top) + "m";
|
||||
player.setAttribute('possition',[konwerturX(ball.style.left),konwetujY(ball.style.top)]);
|
||||
bojo.addEventListener("mouseup", function(){
|
||||
ball.style.background = pColor
|
||||
bojo.removeEventListener("mousemove", whileMove)
|
||||
|
Loading…
Reference in New Issue
Block a user