-
Notifications
You must be signed in to change notification settings - Fork 1
/
TutorielDeplacement.java
59 lines (46 loc) · 1.51 KB
/
TutorielDeplacement.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import java.awt.Graphics;
import java.awt.Dimension;
/**
* Write a description of class TutorielDeplacement here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class TutorielDeplacement extends Tutoriel
{
/**
* Constructor for objects of class TutorielDeplacement
*/
public TutorielDeplacement(final String provenance)
{
super(provenance);
this.setPreferredSize(new Dimension(800, 550));
}
public void deroulement(final Graphics g)
{
switch ( aEtape )
{
case 1 :
afficheImageRedim("tutodeplacement1",0,0,this.getWidth(),this.getHeight(),g);
break;
case 2 :
afficheImageRedim("tutodeplacement2",0,0,this.getWidth(),this.getHeight(),g);
break;
case 3 :
afficheImageRedim("tutodeplacement3",0,0,this.getWidth(),this.getHeight(),g);
break;
case 4 :
afficheImageRedim("tutodeplacement4",0,0,this.getWidth(),this.getHeight(),g);
break;
case 5 :
afficheImageRedim("tutodeplacement5",0,0,this.getWidth(),this.getHeight(),g);
break;
default :
if(aProvenance == "menu")
{
Slatch.ihm.passageModeMenuPrincipal();
Slatch.ihm.getPanelMenu().departMenuTuto();
}
}
}
}