From 443b77e47a7ef3a137e39c64abb277229a665d03 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Tue, 8 Dec 2015 15:56:17 -0500 Subject: Sword can now kill the first entity --- doc/html/classWorld.html | 302 ----------------------------------------------- 1 file changed, 302 deletions(-) delete mode 100644 doc/html/classWorld.html (limited to 'doc/html/classWorld.html') diff --git a/doc/html/classWorld.html b/doc/html/classWorld.html deleted file mode 100644 index 6071450..0000000 --- a/doc/html/classWorld.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - - -gamedev: World Class Reference - - - - - - - - - - -
-
- - - - - - -
-
gamedev -
-
-
- - - - - - -
-
- - -
- -
- -
-
- -
-
World Class Reference
-
-
- -

#include <world.h>

-
-Inheritance diagram for World:
-
-
- - -Arena -IndoorWorld - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Public Member Functions

-void addStructure (_TYPE t, float x, float y, World *outside, World *inside)
 
-void addMob (int t, float x, float y)
 
-void addMob (int t, float x, float y, void(*hey)(Mob *))
 
-void addNPC (float x, float y)
 
-void addObject (ITEM_ID, bool, const char *, float, float)
 
-void update (Player *p, unsigned int delta)
 
-virtual void generate (unsigned int width)
 
-void generateFunc (unsigned int width, float(*func)(float))
 
-void setBackground (WORLD_BG_TYPE bgt)
 
-void setBGM (const char *path)
 
-void bgmPlay (void)
 
-void bgmStop (void)
 
-void addLayer (unsigned int width)
 
-virtual void draw (Player *p)
 
-void detect (Player *p)
 
-WorldgoWorldLeft (Player *p)
 
-WorldgoWorldRight (Player *p)
 
-WorldgoWorldBack (Player *p)
 
-WorldgoWorldFront (Player *p)
 
-WorldgoInsideStructure (Player *p)
 
-void addHole (unsigned int start, unsigned int end)
 
-int getTheWidth (void)
 
-void save (FILE *)
 
-void load (FILE *)
 
- - - - - - - - - - - - - - - - - - - -

-Public Attributes

-WorldtoLeft
 
-WorldtoRight
 
-Worldbehind
 
-Worldinfront
 
-std::vector< NPC * > npc
 
-std::vector< Structures * > build
 
-std::vector< Mob * > mob
 
-std::vector< Entity * > entity
 
-std::vector< Object * > object
 
- - - - - -

-Protected Member Functions

-void singleDetect (Entity *e)
 
-void deleteEntities (void)
 
- - - - - - - - - - - - - - - -

-Protected Attributes

struct line_tline
 
int x_start
 
-unsigned int lineCount
 
-vec2star
 
-TexturecbgTex
 
-Mix_Music * bgmObj
 
-char * bgm
 
-

Detailed Description

-

The world class. This class does everything a world should do.

-

Member Data Documentation

- -
-
- - - - - -
- - - - -
struct line_t* World::line
-
-protected
-
-

The line array. This array is created through 'new' in World::generate(), with an amount of elements provided by the function.

- -
-
- -
-
- - - - - -
- - - - -
int World::x_start
-
-protected
-
-

Starting x coordinate. This x value is the point at which line[0] should reside, can be used to calculate the width of the world.

- -
-
-
The documentation for this class was generated from the following files: -
- - - - -- cgit v1.2.3