Skip to content

Commit

Permalink
tilepropform wasn't setting some of the properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Tesserex committed Jul 1, 2010
1 parent a7a84e7 commit 6f797c5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Mega Man Tileset Editor/TilePropForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions Mega Man Tileset Editor/TilePropForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,25 @@ private void cancelButton_Click(object sender, EventArgs e)
{
this.Close();
}

private void gravMult_ValueChanged(object sender, EventArgs e)
{
Properties.GravityMult = (float)gravMult.Value;
}

private void checkBlocking_CheckedChanged(object sender, EventArgs e)
{
Properties.Blocking = checkBlocking.Checked;
}

private void checkLethal_CheckedChanged(object sender, EventArgs e)
{
Properties.Lethal = checkLethal.Checked;
}

private void checkClimb_CheckedChanged(object sender, EventArgs e)
{
Properties.Climbable = checkClimb.Checked;
}
}
}

0 comments on commit 6f797c5

Please sign in to comment.