C# Class PlatformerPOC.Domain.Projectile

Inheritance: BaseGameObject
Datei anzeigen Open project: bramdemoor/MonoGame-PlatformerPOC

Public Methods

Method Description
Projectile ( PlatformGame game, string shooterName, Vector2 position, HorizontalDirection horizontalDirection ) : System.Linq
Update ( GameTime gameTime ) : void

Private Methods

Method Description
CheckPlayerCollision ( ) : bool
MoveHorizontal ( ) : void
UpdateBoundingBox ( ) : void

Method Details

Projectile() public method

public Projectile ( PlatformGame game, string shooterName, Vector2 position, HorizontalDirection horizontalDirection ) : System.Linq
game PlatformGame
shooterName string
position Microsoft.Xna.Framework.Vector2
horizontalDirection HorizontalDirection
return System.Linq

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void