Hello everyone,
I've run into a problem while working on my simple game mapmaker.
I'm using a list to store my monsters like this:
So the problem which I came up with is, that I can't change the stored information within the list like:Code:Public stMobList As New List(Of static_monster) Public Structure static_monster Dim name As String Dim placement As Coordinate Dim kind As Integer End Structure Public Structure Coordinate Dim x As Integer Dim y As Integer End Structure
I've also tried the replace function.Code:stMobList.Item(1).name.ToString = "Hi"
Which didn't work either with how I tried to use it.Code:stMobList.Item(1).name.ToString.Replace(stMobList.Item(1).name, "newname")
So my question is how can I do this and make it work?
Already thanks,
Jurre




Reply With Quote