C# 클래스 MrGravity.Game_Objects.Static_Objects.Triggers.ForceTrigger

상속: Trigger
파일 보기 프로젝트 열기: DizWARE/Mr-Gravity 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ForceTrigger() 공개 메소드

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

RunTrigger() 공개 메소드

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
리턴 void