Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
Resonance.MiniMap Class Reference

List of all members.

Public Member Functions

summary * MiniMap (GraphicsDeviceManager graphics)
 Constructor.
summary *void loadTextures (ContentManager content)
void draw (SpriteBatch spriteBatch)
void saveTexture (SpriteBatch spriteBatch)
 Renders the mini map texture in the miniMapBuffer render target.

Static Public Member Functions

static void createScaledTextures ()
 Methods.
static void enlarge ()
static void ensmall ()

Static Public Attributes

static int MAP_X = ScreenManager.pixelsX(1920 - 250)
 Constants.
static int MAP_Y = ScreenManager.pixelsY(1080 - 250)
static int LARGE_MAP_X = ScreenManager.pixelsX(585)
static int LARGE_MAP_Y = ScreenManager.pixelsY(165)
static int MAP_WIDTH = ScreenManager.pixelsX(220)
static int MAP_HEIGHT = ScreenManager.pixelsY(220)
static int LARGE_MAP_WIDTH = ScreenManager.pixelsX(750)
static int LARGE_MAP_HEIGHT = ScreenManager.pixelsY(750)
static int VIBE_WIDTH = 16
static int VIBE_HEIGHT = 20
static float ZOOM = 40f
static float DEFAULT_ZOOM = 80f
static bool AUTO_ZOOM = true
static float MIN_ZOOM_SPEED = 2f
static float AUTO_ZOOM_STRENGTH = 2f
static bool DRAW_SCALE_LINES = true
static int SCALE_LINE_INTERVAL = 12
static bool SWEEPER_ON = true
static int SWEEPER_LENGTH = 20
static bool DRAW_WORLD_BOX = true
static int WORLD_BOX_THICKNESS = 12
static bool DRAW_STATIC_OBJECTS = true
static int BOX_THICKNESS = 1
static float VANISHING_POINT = 5f
static float BAD_VIBE_ALPHA = 0.5f
static float PICKUP_ALPHA = 0.5f
static float SPAWNER_ALPHA = 0.5f
static Color BACKGROUND_COLOUR = new Color(0.0f, 0.0f, 0.2f, 0.5f )
static Color GOOD_VIBE_COLOUR = new Color(0.0f, 0.7f, 0.0f, 0.5f )
static Color BAD_VIBE_COLOUR = new Color(0.7f, 0.0f, 0.0f, BAD_VIBE_ALPHA)
static Color PROJ_BAD_VIBE_COLOUR = new Color(0.8f, 0.0f, 0.0f, BAD_VIBE_ALPHA)
static Color PICKUP_COLOUR = new Color(0.7f, 0.7f, 0.0f, PICKUP_ALPHA )
static Color SPAWNER_COLOUR = new Color(0.7f, 0.7f, 0.0f, SPAWNER_ALPHA )
static Color SCALE_LINE_COLOUR = new Color(0.1f, 0.1f, 0.1f, 0.5f )
static Color SWEEPER_COLOUR = new Color(0.0f, 0.0f, 0.9f, 0.5f )
static Color BOX_COLOR = new Color(1.0f, 1.0f, 1.0f, 0.5f )
static Color WORLD_BOX_COLOUR = new Color(0.0f, 0.0f, 0.5f, 0.05f )
static bool large
 Fields.

Constructor & Destructor Documentation

summary* Resonance.MiniMap.MiniMap ( GraphicsDeviceManager  graphics)

Constructor.

Create a new MiniMap


Member Function Documentation

static void Resonance.MiniMap.createScaledTextures ( ) [static]

Methods.

summary>

Here is the call graph for this function:

Here is the caller graph for this function:

void Resonance.MiniMap.draw ( SpriteBatch  spriteBatch)

Here is the caller graph for this function:

static void Resonance.MiniMap.enlarge ( ) [static]

Here is the caller graph for this function:

static void Resonance.MiniMap.ensmall ( ) [static]

summary> Keeps track of the last SPEED_SAMPLES readings of GV's speed and averages them. This is used when drawing scale lines on map, to reduce vibrating.

Here is the caller graph for this function:

summary* void Resonance.MiniMap.loadTextures ( ContentManager  content)

Here is the call graph for this function:

Here is the caller graph for this function:

void Resonance.MiniMap.saveTexture ( SpriteBatch  spriteBatch)

Renders the mini map texture in the miniMapBuffer render target.

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

bool Resonance.MiniMap.AUTO_ZOOM = true [static]
Color Resonance.MiniMap.BACKGROUND_COLOUR = new Color(0.0f, 0.0f, 0.2f, 0.5f ) [static]
float Resonance.MiniMap.BAD_VIBE_ALPHA = 0.5f [static]
Color Resonance.MiniMap.BAD_VIBE_COLOUR = new Color(0.7f, 0.0f, 0.0f, BAD_VIBE_ALPHA) [static]
Color Resonance.MiniMap.BOX_COLOR = new Color(1.0f, 1.0f, 1.0f, 0.5f ) [static]
float Resonance.MiniMap.DEFAULT_ZOOM = 80f [static]
bool Resonance.MiniMap.DRAW_SCALE_LINES = true [static]
bool Resonance.MiniMap.DRAW_WORLD_BOX = true [static]
Color Resonance.MiniMap.GOOD_VIBE_COLOUR = new Color(0.0f, 0.7f, 0.0f, 0.5f ) [static]
bool Resonance.MiniMap.large [static]

Fields.

int Resonance.MiniMap.MAP_X = ScreenManager.pixelsX(1920 - 250) [static]

Constants.

int Resonance.MiniMap.MAP_Y = ScreenManager.pixelsY(1080 - 250) [static]
float Resonance.MiniMap.MIN_ZOOM_SPEED = 2f [static]
float Resonance.MiniMap.PICKUP_ALPHA = 0.5f [static]
Color Resonance.MiniMap.PICKUP_COLOUR = new Color(0.7f, 0.7f, 0.0f, PICKUP_ALPHA ) [static]
Color Resonance.MiniMap.PROJ_BAD_VIBE_COLOUR = new Color(0.8f, 0.0f, 0.0f, BAD_VIBE_ALPHA) [static]
Color Resonance.MiniMap.SCALE_LINE_COLOUR = new Color(0.1f, 0.1f, 0.1f, 0.5f ) [static]
float Resonance.MiniMap.SPAWNER_ALPHA = 0.5f [static]
Color Resonance.MiniMap.SPAWNER_COLOUR = new Color(0.7f, 0.7f, 0.0f, SPAWNER_ALPHA ) [static]
Color Resonance.MiniMap.SWEEPER_COLOUR = new Color(0.0f, 0.0f, 0.9f, 0.5f ) [static]
bool Resonance.MiniMap.SWEEPER_ON = true [static]
float Resonance.MiniMap.VANISHING_POINT = 5f [static]
int Resonance.MiniMap.VIBE_HEIGHT = 20 [static]
int Resonance.MiniMap.VIBE_WIDTH = 16 [static]
Color Resonance.MiniMap.WORLD_BOX_COLOUR = new Color(0.0f, 0.0f, 0.5f, 0.05f ) [static]
float Resonance.MiniMap.ZOOM = 40f [static]

The documentation for this class was generated from the following file: