Beamable SDK
Public Member Functions | Public Attributes | Properties | List of all members
Projectile Class Reference
Inheritance diagram for Projectile:
Inheritance graph
[legend]
Collaboration diagram for Projectile:
Collaboration graph
[legend]

Public Member Functions

void Move (Vector3Int newPosition)
 
void Reflected ()
 
void Bind (GamePlayer shooter, Direction direction)
 
GamePlayer PlayerCollision (IEnumerable< GamePlayer > players)
 
IEnumerable< ProjectileCollisions (IEnumerable< Projectile > projectiles)
 
void Nullify ()
 
Projectile GetReflected ()
 
RenderAction RenderAction ()
 
IEnumerator RenderAttack (RenderAttack attack)
 

Public Attributes

Vector3 StartPosition => _gridTransform.grid.grid.CellToWorld(_startingPosition)
 
Vector3 EndPosition => _gridTransform.worldPosition
 
SpriteRenderer SpriteRenderer => _spriteRenderer
 
GridTransform GridTransform => _gridTransform
 

Properties

abstract int Range [get]
 
abstract float MoveTime [get]
 
Direction Direction [get]
 
GamePlayer Shooter [get]
 
bool Alive [get, set]
 

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