-
Notifications
You must be signed in to change notification settings - Fork 0
/
letter.html
82 lines (67 loc) · 1.64 KB
/
letter.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<html><head>
<META http-equiv="content-type" content="text/html; charset=utf-8">
<title>jext.letter</title>
</head><body>
<h1>jext.letter</h1>
<!-- Generated by Ddoc from letter.d -->
Letter<br><br>
<dl><dt><big>class <u>Letter</u>;
</big></dt>
<dd>The letters that make up the text
<br><br>
May have the text bounce up and down<br><br>
<dl><dt><big>@property ref auto <u>xpos</u>();
</big></dt>
<dd>x position<br><br>
</dd>
<dt><big>@property ref auto <u>ypos</u>();
</big></dt>
<dd>y position<br><br>
</dd>
<dt><big>@property ref auto <u>letter</u>();
</big></dt>
<dd><u>letter</u><br><br>
</dd>
<dt><big>@property ref auto <u>lock</u>();
</big></dt>
<dd><u>lock</u> state<br><br>
</dd>
<dt><big>@property ref auto <u>alternate</u>();
</big></dt>
<dd>alterating colour on/off switch<br><br>
</dd>
<dt><big>@property ref auto <u>altColour</u>();
</big></dt>
<dd>second colour for the alterating colour being on<br><br>
</dd>
<dt><big>void <u>setPostion</u>(double <i>x</i>, double <i>y</i>);
</big></dt>
<dd>postion the letter<br><br>
</dd>
<dt><big>this(dchar <i>letter</i>);
</big></dt>
<dd>ctor new <i>letter</i><br><br>
</dd>
<dt><big>void <u>update</u>();
</big></dt>
<dd>For the letter behaviour(sp)
<br><br>
<b>May:</b><br>
1. Bounce the letter up and down
<br><br>
2. Keep changing the colour of the letter<br><br>
</dd>
<dt><big>void <u>draw</u>();
</big></dt>
<dd>Draw the letter
<br><br>
<b>Draws:</b><br>
1. Alternating
<br><br>
2. Changing colour<br><br>
</dd>
</dl>
</dd>
</dl>
<hr><small>Page generated by <a href="http://www.digitalmars.com/d/2.0/ddoc.html">Ddoc</a>. </small>
</body></html>