示例#1
0
        private void AddModifier(int id, ResourceModifier resourceModifier)
        {
            Resource resource = getResourceByType(resourceModifier.ResourceType);

            resource.AddModifier(id, resourceModifier);
            resource.ApplyModifiers();
        }