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

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

공개 메소드들

메소드 설명
FxTrigger ( Microsoft.Xna.Framework.Content.ContentManager content, EntityInfo entity ) : System.Collections.Generic

Constructs a trigger that will play a sound effect

RunTrigger ( List objects, Player player ) : void

Runs the sound effect

메소드 상세

FxTrigger() 공개 메소드

Constructs a trigger that will play a sound effect
public FxTrigger ( Microsoft.Xna.Framework.Content.ContentManager content, EntityInfo entity ) : System.Collections.Generic
content Microsoft.Xna.Framework.Content.ContentManager Content to load from
entity MrGravity.Import_Code.EntityInfo Entity information
리턴 System.Collections.Generic

RunTrigger() 공개 메소드

Runs the sound effect
public RunTrigger ( List objects, Player player ) : void
objects List List of objects in the game
player MrGravity.Game_Objects.Physics_Objects.Player Player
리턴 void