Adventure at Umalu  22nd March, 2013
Rogue-like Dungeon Crawler, written in Java
 All Classes Functions Variables Pages
Public Member Functions | List of all members
jade.fov.ViewFieldPostProcess Class Referenceabstract

Public Member Functions

abstract void process (Collection< Coordinate > field, World world, int x, int y, int r)
 

Detailed Description

Represents a post processing of a view field. This can be used to add or remove artifacts from the view field, or filter the view field into a specific shape.

Member Function Documentation

abstract void jade.fov.ViewFieldPostProcess.process ( Collection< Coordinate field,
World  world,
int  x,
int  y,
int  r 
)
pure virtual

Performs the post processing on the calculated view field. The provided

Collection<Coordinate>

will be modified in place. The post processing should be done with respect to the parameters with which the view field was generated. In other words, the processed view field should have a radius of r and be centered at (x, y).

Parameters
fieldthe view field being processed
worldthe
World
on which the view field was generated
xthe x value of the location from which the view field was generated
ythe y value of the location from which the view field was generated
rthe radius with which the view field was generated

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