aboutsummaryrefslogtreecommitdiffstats
path: root/doc/World.htm
diff options
context:
space:
mode:
Diffstat (limited to 'doc/World.htm')
-rw-r--r--doc/World.htm40
1 files changed, 0 insertions, 40 deletions
diff --git a/doc/World.htm b/doc/World.htm
deleted file mode 100644
index d17c551..0000000
--- a/doc/World.htm
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>World</title>
- <style>
- .code{
- background:#555;
- color:white;
- font-family:Consolas;
- font-size:12px;
- margin:auto 20px;
- padding:20px;
- }
- </style>
-</head>
-<body>
- <h1>World</h1>
- <hr>
- <h2>Description</h2>
- <p>World.h contains functions to create and draw worlds, and provide basic object detection.</p>
- <br>
- <p>The standard form of world generation in World.h is an array of randomly sized vertical lines.
-The width of each line is defined as a single HLINE, a macro defined in common.h. ...</p>
- <h3>class World</h3>
- <div class="code"><b>private:</b><br>
- struct line_t {<br>
- float start;<br>
- } *line;<br>
- unsigned int lineCount;<br>
-<b>public:</b><br>
- World(float width);<br>
- void draw(void);<br>
- void detect(vec2 *v,const float width);<br>
- </div>
- <ul>
- <li>struct line_t: float <b>start</b>: Where the top of the line is located.</li>
- <li>unsigned int <b>lineCount</b>: Contains the size of the array <i>line</i>.</li>
- </ul>
-</body>
-</html>