Descent.Messaging.Events.SpawnMonsterEventArgs.SpawnMonsterEventArgs C# (CSharp) 메소드

SpawnMonsterEventArgs() 공개 메소드

public SpawnMonsterEventArgs ( int x, int y, int monsterId ) : System.Diagnostics.Contracts
x int
y int
monsterId int
리턴 System.Diagnostics.Contracts
        public SpawnMonsterEventArgs(int x, int y, int monsterId)
        {
            Contract.Requires(x >= 0);
            Contract.Requires(y >= 0);
            Contract.Requires(monsterId >= 0);

            X = x;
            Y = y;
            MonsterId = monsterId;
        }

Same methods

SpawnMonsterEventArgs::SpawnMonsterEventArgs ( string stringArgs ) : System.Diagnostics.Contracts