C# Class PlatformerPOC.Domain.Projectile

Inheritance: BaseGameObject
Afficher le fichier Open project: bramdemoor/MonoGame-PlatformerPOC

Méthodes publiques

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

Private Methods

Méthode Description
CheckPlayerCollision ( ) : bool
MoveHorizontal ( ) : void
UpdateBoundingBox ( ) : void

Method Details

Projectile() public méthode

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

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void