aboutsummaryrefslogtreecommitdiffstats
path: root/doc/World.htm
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@clyne-lp.example.com>2015-09-17 09:22:45 -0400
committerClyne Sullivan <clyne@clyne-lp.example.com>2015-09-17 09:22:45 -0400
commitc38029fa3d4fd7488c2bd9236eec86aff4448314 (patch)
tree2807889557cbc0c5391181c3556e4978eaa9549a /doc/World.htm
parent334ee89484336412d39e509c2594dee8f47c22ad (diff)
shit
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>