Logo Search packages:      
Sourcecode: val-and-rick version File versions  Download package

abagames::vr::shape::BitmapShape Class Reference

Inheritance diagram for abagames::vr::shape::BitmapShape:

abagames::vr::shape::Drawable abagames::vr::shape::Collidable

List of all members.

Detailed Description

Bitmap shape.

Definition at line 139 of file shape.d.

Public Member Functions

bool checkCollision (float ax, float ay, Collidable shape=null)
void close ()
Vector collision ()
void draw ()
void drawAlpha (float a=0.5f)
 this (Texture texture, int idx, float size=1)

Static Public Member Functions

static void closeAll ()
static void init ()

Public Attributes

mixin CollidableImpl

Static Public Attributes

static Texture ascii
static Texture bullets
static Texture enemies
static Texture explosions
static Texture ground
static Texture letters
static Texture purser
static Texture ship
static Texture sight

Private Member Functions

void drawAlphaShape ()
void drawNormShape ()

Private Attributes

Vector _collision
DisplayList displayList
int idx
float size
Texture texture

Static Private Attributes

static const float BASE_SIZE = 0.5f
static const float TEXTURE_SIZE_MAX = 0.98f
static const float TEXTURE_SIZE_MIN = 0.02f

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

Generated by  Doxygen 1.6.0   Back to index