|
|
@ -5,7 +5,6 @@ export default{
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
viesEpuisees:10-(this.vieRestantes??10),
|
|
|
|
viesEpuisees:10-(this.vieRestantes??10),
|
|
|
|
ordreDessin:[
|
|
|
|
ordreDessin:[
|
|
|
|
this.potenceBas,
|
|
|
|
|
|
|
|
this.potenceVertical,
|
|
|
|
this.potenceVertical,
|
|
|
|
this.potencePoutre,
|
|
|
|
this.potencePoutre,
|
|
|
|
this.potenceEquerre,
|
|
|
|
this.potenceEquerre,
|
|
|
@ -40,6 +39,7 @@ export default{
|
|
|
|
this.ctx.stroke();
|
|
|
|
this.ctx.stroke();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
potenceVertical: function(){
|
|
|
|
potenceVertical: function(){
|
|
|
|
|
|
|
|
this.potenceBas()
|
|
|
|
// Tracer la potence (trait vertical)
|
|
|
|
// Tracer la potence (trait vertical)
|
|
|
|
this.ctx.beginPath();
|
|
|
|
this.ctx.beginPath();
|
|
|
|
this.ctx.moveTo(100, 200);
|
|
|
|
this.ctx.moveTo(100, 200);
|
|
|
|