C# Class MrGravity.Game_Objects.Static_Objects.Triggers.ForceTrigger

Inheritance: Trigger
Afficher le fichier Open project: DizWARE/Mr-Gravity Class Usage Examples

Méthodes publiques

Méthode Description
ForceTrigger ( Microsoft.Xna.Framework.Content.ContentManager content, EntityInfo entity ) : System.Collections.Generic
RunTrigger ( List objects, Player player ) : void

This triggers adds a force in the x direction while the player is within its bounds and removes it when the player exits

Method Details

ForceTrigger() public méthode

public ForceTrigger ( Microsoft.Xna.Framework.Content.ContentManager content, EntityInfo entity ) : System.Collections.Generic
content Microsoft.Xna.Framework.Content.ContentManager
entity MrGravity.Import_Code.EntityInfo
Résultat System.Collections.Generic

RunTrigger() public méthode

This triggers adds a force in the x direction while the player is within its bounds and removes it when the player exits
public RunTrigger ( List objects, Player player ) : void
objects List List of objects in the game
player MrGravity.Game_Objects.Physics_Objects.Player Player in the game
Résultat void